I think the best way to achieve that would be to use transactions inside servicemix and a jca enabled jms component as the BC. The message consumption would be enlisted in a transaction, and all components could also enlist resources in the transaction. I do not see any other simple way to do that, unless you really don' t care about duplicates, in which case, you could try to hack the jmx component to use a jms destination browser instead of a consumer.
Cheers, Guillaume Nodet On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi , The requirement for one of our custom component is to sense the message that arrives in a queue and call an orchestration that calls another component, which infact removes the message. I did use MessageListener's onMessage method, but it does remove the message from the queue when it arrives in the queue. Does ServiceMix has any interface which helps to achive this. Any help is appreciated. Thanks Mat
