ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » XMS.NET Question

Post new topic  Reply to topic
 XMS.NET Question « View previous topic :: View next topic » 
Author Message
shanks5
PostPosted: Thu Apr 27, 2006 11:47 am    Post subject: XMS.NET Question Reply with quote

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
View user's profile Send private message
saketr
PostPosted: Thu Apr 27, 2006 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » XMS.NET Question
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.