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 » Concatinate input messages

Post new topic  Reply to topic
 Concatinate input messages « View previous topic :: View next topic » 
Author Message
samchenchu
PostPosted: Thu Aug 22, 2013 11:10 pm    Post subject: Concatinate input messages Reply with quote

Novice

Joined: 13 Aug 2013
Posts: 22

Hi friends,
My flow is
Mqinput ->Compute ->Mqoutput.
Mqinput will receive messages from datapower and it has to concatenate all the messages in compute node until one element Zstatus in themessage header becomes TRUE.
How to do concatinate all the messages receiving from datapoweer?Please give me a suggest approach
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Aug 22, 2013 11:49 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

two options come to mind
1)
Write messages to a temporary queue
When you get the 'end' message
read all message and build your concatenated message

OR
2)
use a table (my preferred method)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
samchenchu
PostPosted: Fri Aug 23, 2013 1:32 am    Post subject: Reply with quote

Novice

Joined: 13 Aug 2013
Posts: 22

I am using Mq get node to hold the messages.But it is not storing all the messages which ever i am sending.
Is there any other properties which i should set in the mqgetnode?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 23, 2013 1:40 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The MQGet node DOES NOT STORE THE MESSAGES

They are stored on a queue which is read by the MQGet node.

Have you looked at the messages on the Queue? Are they all there? Is all the data there?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
samchenchu
PostPosted: Fri Aug 23, 2013 2:06 am    Post subject: Reply with quote

Novice

Joined: 13 Aug 2013
Posts: 22

Actually the control is not passing from mqgetnode.I have set below properties for mqgetnode still I am not able to process the message from MQget node.

Properties :
Quename - GET
Generate mode - Message and localenv
copy message - copy entore message
copy local environment - coopy entire local environment
Output data location - OutputRoot.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 23, 2013 2:13 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Can you look again at my questions and at least try to answer them

Before you can read the messages with the MQGet node they have to be on the queue. Once you are satisfied that the messages are being written to the queue correctly (what sort of transactionality are you using? are the fully commmitted?)

Then move onto the reading. Put a timeout on the read and see if you get a 2033 error. If so then go back to the writing and make sure that everything your write is committed.
You can't read it if it has not been committed.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
samchenchu
PostPosted: Fri Aug 23, 2013 2:19 am    Post subject: Reply with quote

Novice

Joined: 13 Aug 2013
Posts: 22

Ya..i am sorry. Actually i didnt get the message to the queue read by MQGet node.
I am doing debug and control gets terminated once it reaches to MQgetnode.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 23, 2013 2:29 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

samchenchu wrote:
Ya..i am sorry. Actually i didnt get the message to the queue read by MQGet node.
I am doing debug and control gets terminated once it reaches to MQgetnode.


There are two separate but related issues here.

1) You didn't get the message written to the queue correctly
2) You can't read the message

Use UserTrace. It is much easier to find out where things go wrong.
Why does control get terminated at the MQGet node? What is the error?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » Concatinate input messages
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.