Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do i need to disconnect queue manager, send queue after i send each message?

 
Emil Iakoupov
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have MQ code that i use to send messages. Basically i create an object then i call its send method. In there i send a message and disconnect and close send queue after message is sent. Should i maybe cache queue and queue manager and send? Below is the code i use:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic