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 » IMPLEMENTING MQ LISTENER USING SIMPLE API

Post new topic  Reply to topic
 IMPLEMENTING MQ LISTENER USING SIMPLE API « View previous topic :: View next topic » 
Author Message
Balaji_P
PostPosted: Wed Jan 05, 2011 7:47 pm    Post subject: IMPLEMENTING MQ LISTENER USING SIMPLE API Reply with quote

Apprentice

Joined: 05 Sep 2006
Posts: 36
Location: Chennai

Hi all

Would need your directions or samples preferrably to implement the Message Listener in java using MQ API .

My requirement is , I have around 10 Queues in the Same Queue manager and my Java Program needs to be configured to read the messages in the 10 Queue as and when it arrives. The MQ server Version is 5.3.

We have written using Spring and issue is each time a new connection is getting created and its not been closed or disconnected , the reason being that there should be some active connection listening the queue which will pool the message . Now there are lot of active TCP/IP connections which is not released yet and it denies any new connection to the Queue Manager.

We need to kill the n/w connection manually which doesnt help us.

Its quite urgent
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 05, 2011 10:00 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Wrong question. The MDB type connections done by the spring framework need to be catered for.

Determine how many total channel connections you need (spring + all the rest)
For your MDB type spring connections you need number of instances + 1 connections for each of the MDB type beans.

My guess is you are over the default of 100. Check the Channel Stanza to see how to change the default. It is common to have more than 10 times the default in production.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » IMPLEMENTING MQ LISTENER USING SIMPLE API
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.