Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Add Listener to JMSQueue

Avatar

Former Community Member
Hi All,
I have individual processes for Write/Receive messages to/from queue.  Now, How can I monitor queue continuously for messages and second process should invoke only whenever a message is posted to queue (Like message driven beans).

How can I achieve above functionality.

Is there any inbuilt component in livecycle to support Message driven beans functionality.

Please suggest.

Thanks in advance,

Ramu

1 Reply

Avatar

Employee Advisor

You can throw an event (may be your custom event) when the message is recieved and the another process may have a event start point using which it would be invoked, when it catches this event.

For continuos monitoring, you can create a loop using Wait Point

See below links :

http://help.adobe.com/en_US/livecycle/10.0/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a20dd-7f4f...

http://help.adobe.com/en_US/livecycle/9.0/samples/ServiceUsageSampleEventCorrelation.html

Hope this helps.

Thanks,

Wasil