|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XMS.NET Question |
« View previous topic :: View next topic » |
Author |
Message
|
shanks5 |
Posted: Thu Apr 27, 2006 11:47 am Post subject: XMS.NET Question |
|
|
Newbie
Joined: 27 Apr 2006 Posts: 4
|
Hi,
I'm new to XMS(infact to JMS). Can we use some kind of session pooling. For Example, In Request/Response scenaro: You create session ,producer,consumer(to get the response message based on correlation id). Do I have to create session,producer,consumer every time or can i create a session pool and reuse all the three(session,consumer,producer)
Thanks
Shankar |
|
Back to top |
|
 |
saketr |
Posted: Thu Apr 27, 2006 2:25 pm Post subject: |
|
|
Apprentice
Joined: 08 Feb 2006 Posts: 41
|
Shankar,
Producer and Consumer are created using a Session. A single instance of Session, Producer and Consumer each, will allow to send/receive as many messages as you wish in a request/response scenario. In other words, you don't need a Session, Producer and Consumer per message.
Regards,
Saket |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|