cancel
Showing results for 
Search instead for 
Did you mean: 

JMS sender - message selector with MQ

Former Member
0 Kudos

Hi,

I have some doubts with my SAP XI 3.0 JMS sender configuration for the usage with MQ Series

How to distinguish between 2 different xml messagestypes with the message selector option ?

I have read the wiki about the jms message selector but the MQ administration told me that there is no option to add a new property in the MQMD Header ?

wiki: http://wiki.sdn.sap.com/wiki/display/XI/Howtohandlemultiplemessageformatsfrom1JMS+Queue

a) is there a way to diferentiate by the payload ?

b) is there another way without using the message selector ?

c) as i have to migrate this scenario soon ... how to get this solved with PI 7.1 JMS sender ?

Thanks in adance,

Gordon

Edited by: Gordon Breuer on Apr 16, 2010 3:14 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> a) is there a way to diferentiate by the payload ?

No, you have to use MQ header fields for this feature.

> b) is there another way without using the message selector ?

You can define a generic interface which includes both payloads like this:

root

- node1 (representing payload 1)

- node2 (representing payload 2)

> c) as i have to migrate this scenario soon ... how to get this solved with PI 7.1 JMS sender ?

In pi 7.1 you can define one interface with two operations. The operation represents your payload.

Mapping and receiver determination is based on payload then. (The root tag of the payload determines the operation)