Skip to Content
avatar image
Former Member

JMS to File

Hi

I have gone through all the previous posts on this topic. But I am still not clear. Can anyone give me the step by step procedure for JMS to file scenario?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 27, 2007 at 05:53 AM

    Hi Arthi,

    I configured similar kind of scenario in my project.

    Here JMS is sender, File is receiver. here mq i used is Webshpere of JMS complaint

    SLD

    -


    one third party business system would be enough for this scenario.

    IR

    --

    1. Create a datatype similar to the structure of the message that is residing in WebsphereMQ

    2. Create messagetype (one datatype, message type would be enough)

    3. create two interfaces, outbound for jms and inbound for file

    4. create message mapping and interface mapping.

    ID

    --

    1. Import BS and create 2 comm channels

    2. one jms sender, one file receiver

    3. in jms sender, select WebsphereMQ( select the appropriate mq vendor)

    defualt values appear for queue connectionfactory and and queue class

    give ip address of the system on which MQ is installed, its port by default it is 1414, give queue manager name, channel name, and queue name. Remember all the characters shuld be in upper case only. select transport protocol as tcp/ip and jms complaint. give the userid and password of the system on which this MQ is installed. all these details u can get from MQ team.

    4. create file receiver com.channel

    5. remaining steps like sender, receiver agreement and interface, reciever determination can be created.

    let me know if you have any doubts in this.

    Regards,

    Ravi.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      take xml source from message mapping of IR after giving the test data..

      give this xml file to your MQ team, they will run some application and put this xml file in the respective queue.

      Ravi.