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 » WebSphere Message Broker (ACE) Support » Batch of messages from MQ usign Java Compute Node

Post new topic  Reply to topic
 Batch of messages from MQ usign Java Compute Node « View previous topic :: View next topic » 
Author Message
phaniIIB
PostPosted: Thu Mar 31, 2016 12:04 pm    Post subject: Batch of messages from MQ usign Java Compute Node Reply with quote

Acolyte

Joined: 28 Jul 2015
Posts: 51

Hi all,

How to retrieve a batch of messages together from MQ using Java compute node.

Thanks,
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 31, 2016 12:10 pm    Post subject: Re: Batch of messages from MQ usign Java Compute Node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

phaniIIB wrote:
How to retrieve a batch of messages together from MQ using Java compute node.


You don't.

All MQ interaction is handled by the broker through the 3 MQ nodes. Attempting to access the queue manager directly will (at best) break the transactionality of your flow and (at worst) bring the broker down round your ears.

If you want to process a group of messages from MQ, use the MQ grouping feature, read them with an MQInput node and pass the group to your JCN.

If you want to process a batch of unconnected messages from MQ because you (for example) want to perform a batch update of a database, rethink your design.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Mar 31, 2016 1:23 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Or any of the other nodes that let you collect or aggregate messages.
_________________
chmod -R ugo-wx /
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 » WebSphere Message Broker (ACE) Support » Batch of messages from MQ usign Java Compute Node
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.