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 » Using MQGet Node Results in 2019

Post new topic  Reply to topic
 Using MQGet Node Results in 2019 « View previous topic :: View next topic » 
Author Message
wyatt
PostPosted: Wed Nov 22, 2006 1:05 pm    Post subject: Using MQGet Node Results in 2019 Reply with quote

Voyager

Joined: 28 Nov 2004
Posts: 76

When using a MQGet node, can one specify same queue name that is used in the MQInput Node?

In my case, I'm using a MQGet node and specifying the same queue name that is used in the MQInput Node. Say MQInput Node queue name=XYZ and MQGet Node queue name=XYZ. This results in a MQRC 2019 when using default settings of MQGet Node and default setting of MQSeries queue. Version 6 for both.

A single instance of the flow is running.

Why
..processing messages in FIFO order, in some instances (rare), a logical message spans multiple MQSeries physical messages and it is necessary to assemble the piece parts. External entities are placing the data onto this queue and it is not practical to have these external companies make changes to their system(s). MQSeries segmentation rules are not always honored...
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Nov 22, 2006 3:49 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Why don't you store the messages into DB and then have another flow process these messages once you receive complete message from the client?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
DBN-GUY
PostPosted: Wed Nov 22, 2006 11:51 pm    Post subject: Reply with quote

Newbie

Joined: 26 Jul 2006
Posts: 6
Location: South Africa

It will be less complicated if you just used seperated queues.

Using the MQget is far more effienct than than storing the messages on the databse
Back to top
View user's profile Send private message
Nigelg
PostPosted: Thu Nov 23, 2006 1:57 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

It is not permitted to convert part of a segmented msg if the msg expands on conversion - this may be the cause of the problem.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
michaelharris
PostPosted: Mon Apr 16, 2007 9:21 pm    Post subject: Reply with quote

Novice

Joined: 09 Jun 2006
Posts: 20

I have the same requirement (and the same problem MQRC=2019).

An external party is delivering multiple related (by CorrelId) messages to my queue.

My MQInput node receives the first message and then enters a loop using an MQGet node (get by CorrelId) to get related messages and consolidate them into a single message. Finally, the No Message terminal of the MQGet node is connected to a Compute node where the consolidated message is propagated to MQOutput.

The flow runs like a charm until the input queue is empty. Then I get the following entry in my system log and the flow "sleeps" until I restart it. I understand there are many other solutions, but this problem puzzles me and I'd prefer to utilize this logic if possible.

Apr 17 00:07:55 hpts4 WebSphere Broker v6003[18319]: (GXPBRK_T2.CIS_EG)[50]BIP2606E: Unable to get message from WebSphere MQ queue '
CIS_XML_OUT': MQCC=2; MQRC=2019; node 'CIS.Event.XmlRouter.GetXMLMessage'. : GXPBRK_T2.759d4cf0-0a01-0000-0080-d16f0489bb1b: /build/
S600_P/src/DataFlowEngine/ImbMqInputNode.cpp: 1270: ImbMqInputNode::readData: ComIbmMQInputNode: CIS/Event/XmlRouter#FCMComposite_1_
1

Thanks,
Michael Harris
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Apr 20, 2007 8:52 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Got this from someone at IBM:
Quote:
The use of the same queue by an MQInput and an MQGet node is currently a product limitation. It will take an extensive change to provide this capability, so there are not plans to provide this in a fix pack. This capability is planned for a future release of Message Broker.

But remember, plans change, so YMMV.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
mumuu
PostPosted: Sun Apr 22, 2007 8:00 pm    Post subject: Reply with quote

Newbie

Joined: 22 Feb 2007
Posts: 3

Reason Code 2019 x'7E3'
MQRC_HOBJ_ERROR

The object handle Hobj is not valid. This reason also occurs if the parameter pointer is not valid, or (for the MQOPEN call) points to read-only storage. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)

Corrective action: Ensure that a successful MQOPEN call is performed for this object, and that an MQCLOSE call has not already been performed for it. For MQGET and MQPUT calls, also ensure that the handle represents a queue object. Ensure that the handle is being used within its valid scope.
-------------------------------
Why don't you use Aggregate Node it's useful node for collection data from multiple messages.
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 » Using MQGet Node Results in 2019
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.