cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1 JMS adapter - Inputs required.

0 Kudos

Hello Folks,

There is a requirement to put the below message on the JMS queue.

EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS

However the message that XI is putting on JMS queue is:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_JMS_EFTPAYMENTS xmlns:ns0="urn:pi:eftpayments:mq"><MessagePayload>EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS ............................... </MessagePayload>

How can i get rid of the XML tagging in the start and end on the JMS adapter?

Thanks!!

Harpreet

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hello Folks,

>

> There is a requirement to put the below message on the JMS queue.

>

> EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS

>

> However the message that XI is putting on JMS queue is:

>

> <?xml version="1.0" encoding="UTF-8"?>

> <ns0:MT_JMS_EFTPAYMENTS xmlns:ns0="urn:pi:eftpayments:mq"><MessagePayload>EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS ............................... </MessagePayload>

>

> How can i get rid of the XML tagging in the start and end on the JMS adapter?

>

> Thanks!!

> Harpreet

either use content conversion modules in your JMS adpater as mentioned in the earlier post or write a simple java map to extract the required payload from the XML and post that payload to the adapter

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

use file content conversion in JMS receiver communication channel,anyway MQ will support Text and XML files.

refer below link and search in sdn..

http://wiki.sdn.sap.com/wiki/display/XI/HowTo...ContentconversionmodulewithJ2EEJMS+adapter

Regards,

Raja Sekhar

0 Kudos

Thankyou buddy, will work on this and let you know how it goes.