Topic
  • 3 replies
  • Latest Post - ‏2013-10-06T13:48:27Z by T.Amar
Buddy Geek
Buddy Geek
11 Posts

Pinned topic Can all the messages in a queue be aggregated to a single message?

‏2013-09-25T00:00:44Z |

Hi,

My requirement is:

I will have a i/p Q which accepts 3 msgs(for eg) in  a CSV format. All these messages should be clubbed to a single message and need to transformed to a single XML file.

To be more clear: The o/p should be a single XML file having all the data of the 3 messages in the i/p Q

How can this be done?

I know how to transform a single CSV message to XML. But how to get all the 3 messages and transform?

Help appreciated. Thank you!

  • rkumar03
    rkumar03
    6 Posts

    Re: Can all the messages in a queue be aggregated to a single message?

    ‏2013-09-25T07:04:33Z  

    There must be some logic behind adding all the three csvs. Can not we use one Java node append all the messages and then transform.

     

  • Buddy Geek
    Buddy Geek
    11 Posts

    Re: Can all the messages in a queue be aggregated to a single message?

    ‏2013-09-25T07:37:29Z  
    • rkumar03
    • ‏2013-09-25T07:04:33Z

    There must be some logic behind adding all the three csvs. Can not we use one Java node append all the messages and then transform.

     

    Collector node works........ And the logic need to coded in esql 

  • T.Amar
    T.Amar
    66 Posts

    Re: Can all the messages in a queue be aggregated to a single message?

    ‏2013-10-06T13:48:27Z  

    Collector node works........ And the logic need to coded in esql 

    Hi,

     

    Collector node works fine if time out will not change dynamically. If you need to change time dynamically and also number of msg's warry. Then go through this article pl :http://www.ibm.com/developerworks/websphere/library/techarticles/1304_marie/1304_marie.html.