Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Zip or unzip a payload in sender JMS channel

$
0
0

Hi,

 

My scenario is to unzip a payload in sender JMS channel and I have configured the sender JMS module in the below format,

 

Processing sequence

 

AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip

SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI

CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS

 

Module Configuration

Modulekey            Parameter Name                    Parameter Value
zip                        zip.mode                                unzip

 

I have tried this format also,but it is not working

 

SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI

AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip

CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS

 

(or)

 

SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin

AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI

CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS

 

 

While performing testing,it throws the below error in sender JMS channel,

 

The detailed error (if any) is :  com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable pattern: NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'pattern'at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:185)

 

Can someone help me on how to extract a payload in sender JMS channel.

 

Also please guide me on how to extract a multiple payloads in one zip file in sender JMS channel.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>