posted 14 years ago
Guys, let's back off a bit and be a bit more clear about the terminology being used so that we understand exactly what the other is talking about.
There is no request/response paradigm in jms. There is no parameter either.
There is a 'jms server' which can accept messages and send them out to anyone who has registered an interest in listening to the message.
The app who puts the message is called the 'sender'.
The app who receives the messsage is called 'receiver'.
Information is contained in the message as a payload or in the header. The payload can be text, xml, Object and so on.
Headers are String properties (name -value pairs)
The messages can be Queue (Point to Point) or a Topic (One Sender, many receivers)
Finally the listener can be an ordinary java class or a MDB.
Now if we all accept that, will you please reframe the question?
ram.