Are messages exchanged directly and not via pub/sub cached?

Hi,
Apart from using the Pubsub model of communication, I have a few use cases when a node may want to directly talk to another node without using the pubsub form of communication. In that case, are the messages cached and is yes are they in the same cache as the one used by pubsub?
thanks in advance,
Vishal