This content has been marked as final.
Show 3 replies
-
1. Re: Message bean listening to Queue and Topic
visolvejboss Dec 7, 2006 6:51 AM (in response to cuthbe)Hello,
On the MDB you have, write an onMessage function, which will be executed when a new message comes at the Queue. You can process the message and then publish to the Topic from the same function. Then, you can write another MDB which listens on the Topic with the onMessage function, so that you can process messages, that arrives on the Topic. -
2. Re: Message bean listening to Queue and Topic
cuthbe Dec 7, 2006 8:48 AM (in response to cuthbe)So basically the best method is to create two MDB one for process on the queue and one for process on the topic, and then replying to topic events.
Is there any group documentation on setting up oracle DS so that i can send messages to a database.
And when posting messages to the Topic should this be done in a new Thread ? -
3. Re: Message bean listening to Queue and Topic
visolvejboss Dec 7, 2006 11:10 PM (in response to cuthbe)Hello,
"minixman" wrote:
Is there any group documentation on setting up oracle DS so that i can send messages to a database.
You can find the Configuration details for setting up Oracle DS for sending messages in the following wiki page.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB
Hope, this might help you.