>Please help me to understand one thing. You�ve saying that you have an >Web application deployed on JBoss, which uses it�s own JMS system, >probably the JBoss specific one. On the other hand, you have a B2B >application which sends/posts messages to its own JMS system, which is >maybe another JMS implementation like IBM MQ, or BEA-JMS, or whatever. My >question is this: are they really distinct and separate message systems? >Does the first application publishes messages in its own JMS environment >and expects to receive them from there? Or is it possible to have the >JBoss app sends/posts messages to the B2B app�s message systems and >receives those in its own message system (and the other way around)?
Hi valentin , first of all thanks for replying. ok this all sounds very confusing . Lets simplyfy it
For the time being lets just say there is my Application deployed on JBOSS which has its JMS. now lets say i have defined a Queue named "MyAppQueue" and i know that all the senders whereever they may be will post there messages on this queue.
Now my responsibility is to write a MessageReceiver which is continously running and checking this queue for messages. whenever it receives a message it immidiately calls the messagesListener which processes the message.
So sow my requirement of Writing such MessageReceiver is that , it should always be in running mode(that means once i start it, it starts forever since this is going to be a REal time application) and continously checking the queue, as soon as some message comes it calls messageListener. and also that this messageReceiver should be fast , i mean coz many messages may come at once say 40-50 messages in a minute.
so please tell me how do i now write this MessageReceiver.
This will solve all my problems.
thanks in advance