cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Receiver Adapter Conversion problem

Former Member
0 Kudos

Hi All,

My Scenario.

Websphere MQ(JMS Adapter)--->SAP XI--->Webspher MQ(Receiver Adapter)----->Mainframe MQ

I am using Module parameters in JMS Receiver Adapter.

Module Sequence in the Receiver Channel

No. Module Name T Module Key

1 localejbs/AF_Modules/MessageTransformBean L XML2Plain

2 localejbs/SAP XI JMS Adapter/ConvertMessageToBinary L CallJMSService

3 localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService L Exit

Module

Key

Parameter Name Parameter Value

XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion

XML2Plain Transform.ContentType text/plain;charset=utf-8

XML2Plain xml.conversionType SimpleXML2Plain

XML2Plain xml.addHeaderLine 0

XML2Plain xml.fieldFixedLengths 3,5,10

XML2Plain xml.fixedLengthTooShortHandling Cut

Output of JMS Adapter message in Websphere MQ

abc def sahafhhjf .

fdh hdh jfjfjdjdjgjjjd .

This "." giving error in Mainframe MQ.plz help me how to remove dot(".") end of the record.

thanks,

pachika

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

gfdfdhh

Former Member
0 Kudos

Hi

Reduce the field length where this "." is coming. As you are using fixedLengthTooShortHandling Cut this will trim the dot.

Try it

Else you can remove this in Mapping as well.

Thanks

Gaurav

Former Member
0 Kudos

Hi !

Have you tryied to use mapping to search and replace that dot "." with nothing.

Regards,

Matias.