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 » Message set definitions

Post new topic  Reply to topic
 Message set definitions « View previous topic :: View next topic » 
Author Message
Israk17
PostPosted: Wed May 14, 2008 6:38 pm    Post subject: Message set definitions Reply with quote

Novice

Joined: 13 Mar 2008
Posts: 12

Hi everybody, I have been trying to fix a problem with a message set using TDS Format.

This is the TDS Format message:

1AAAABBBBBCCCD
2XXYY111ZZWW
2XXYY222ZZWW
1AAAABBBBBCCCD
2XXYYZZ333WW
2XXYYZZ444WW
2XXYYZZ555WW
2XXYYZZ666WW

Tag identificator is '1' or '2' .
For '1' the length of its elements is a=4, b=5, c=3, d=1 and crlf=2
For '2' the length of its elements is x=2, y=5, z=2, w=2 and crlf=2

In the flow:

MQInput --> Trace --> Compute --> Trace1 --> MQOutput

When I put the message on the flow, it doesn´t leave from the Queue and takes the catch way showing the next:

(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 5288
(0x03000000):Text = 'MTI. Not all the buffer was used when reading message'


But I modify the TDS Message:

1AAAABBBBBCCCD
2XXYY111ZZWW
2XXYY222ZZWW
1AAAABBBBBCCCD
2XXYYZZ333WW
2XXYYZZ444WW
2XXYYZZ555WW
2XXYYZZ666WW

And put the message in the flow and it working fine.

Does anybody know what can I do here???
I need to use the original message without order by tag number.

Thanks a lot.
_________________
"Believe that you can do it ..."
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu May 15, 2008 1:36 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I need to use the original message without order by tag number.
Neither of your example messages is ordered by tag number!
Quote:
Does anybody know what can I do here?
Try making your message a repeating choice of elements, instead of a sequence of repeating elements. In other words, set Composition to Choice and set maxOccurs to -1.
Back to top
View user's profile Send private message
Israk17
PostPosted: Thu May 15, 2008 2:45 pm    Post subject: Reply with quote

Novice

Joined: 13 Mar 2008
Posts: 12

Thank you very much Kimbert...

I was trying yesterday and today and I did not find the answer until I see your post...

I set choice in Composition and maxOccurs=-1 and the flow is working fine !!


_________________
"Believe that you can do it ..."
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 » Message set definitions
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.