Search code examples
javaqueuejmstibcoinspect

Is it possible to look at received queue messages with the Tibco queue client?


We're using a Tibco client implementation of the JMS API. We have a MessageListener with an onMessage() implementation.

Is there a way with the Tibco client to inspect past (received) messages in the queue? (I realise this totally ignores the logical concept of a queue - I wondered if the queue implementation provided this workaround.)


Solution

  • No. Not for "past" messages.

    Messages acknowledged by the receiver are removed from the queue - as their "function" is already done.

    You could have a Listener configured to persist your messages in some DB or file - but for future messages.