|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message segmentation |
« View previous topic :: View next topic » |
Author |
Message
|
venuprsd |
Posted: Sat Jun 04, 2011 4:19 am Post subject: Message segmentation |
|
|
Apprentice
Joined: 15 Aug 2010 Posts: 44
|
Hello Experts
I am working on Message Broker 6.1 development. I will get large XML, after that i need to split that based on the business requirement and needs to send to four target systems. But each target system can accept the message 30000 bytes message.If one message exceeds above that range i need to form another message and send it to the respective system. I am using the MQInput and MQOutput nodes. It means one Byte can accept only one character in ESQL?
Can any please help me.
Thank you so much.[/i] |
|
Back to top |
|
 |
Vitor |
Posted: Sat Jun 04, 2011 4:54 am Post subject: Re: Message segmentation |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
venuprsd wrote: |
If one message exceeds above that range i need to form another message and send it to the respective system. |
What format are the output messages?
You can either segment the messages (as your title indicates) or send a continuation message.
venuprsd wrote: |
I am using the MQInput and MQOutput nodes. |
If you're splitting based on business requirements I'd expect a few more transformation nodes in there....
venuprsd wrote: |
It means one Byte can accept only one character in ESQL? |
Within WMB everything is held as Unicode. It's only when the message is output (by MQOutput node, FileOutput or whatever) that it's converted to the selected code page. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
venuprsd |
Posted: Sat Jun 04, 2011 6:25 am Post subject: Message segmentation |
|
|
Apprentice
Joined: 15 Aug 2010 Posts: 44
|
Continuation..
I am sending to four legacy systems. two systems receives the EBCDIC and one system receives the ASCII and one system receives the XML. Generally i am using the Compute node and WTX nodes for transformation.
Please provide me the solution. |
|
Back to top |
|
 |
Vitor |
Posted: Sat Jun 04, 2011 6:44 am Post subject: Re: Message segmentation |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
venuprsd wrote: |
Please provide me the solution. |
It might be easier to provide a solution if you'd actually answered all my questions!
If 1 system's receiving the XML (in a code page you've not seen fit to share) them how does this 30000 byte limit apply? What happens if the limit hits in the middle of a tag? Indeed why is there this limit at all and why is it should a ridiculously small value?
Why are you not (as the title of this thread indicates) not just segmenting the messages?
If we assume that because this limit is so small the systems are used to reassmblling message fragments, then why are you posting? What's the question here?
Because certainly an XML parser won't take a document in 30000 byte chunks, and most EBCDIC/ASCII non-XML systems dislike their records in arbitrary pieces (I assume these records are not exactly 30000 bytes long - if they are then I certainly don't understand your question). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|