Rss Feed

welcome to my space

"How to split and join an MQ message"

March 15th, 2010 by , under nnmj.com.

  • "How to split an MQ message into several messages and join them back into one, using Java programming language"


  • Hi - are you talking about a specific kind of message queue? Or are you looking for a generic answer that could apply to any message queue?


  • Queue 1 has n messages( n1, n2, n3....nz) Spllit: Message n1 needs to be split into n11, n12, n13....thru n1x Similarly n2 thur nz. split as n21, n22, n23......... Join n11....n1x to n1 n21....n2x to n2 etc.


  • As I know, there is no such feature in the Message object. But still you can use the string parsing to split your message. Also you use the String appending for merge. I can give you a little code snippet but can't give you the entire code. Atleast for giving that, you have to give the sample message and based on WHAT (Delimiter, or whatever) you want to Split and the condition for which you like to merge?


  • No, its not specific queue. Also I am not looking for generic answers either. Java code will be very helpful.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about "How to split and join an MQ message" , Please add it free.