cancel
Showing results for 
Search instead for 
Did you mean: 

JMS queue options for JMS - IDOC interface

Former Member
0 Kudos

Dear Experts,

In a scenario where in you have a single source system(Legacy application) and a single receiver system(SAP) and the mode of connectivity would be MQ to IDOC.

In the above case, we have got two different source structures for which two different IDOCs have to be generated.

Typically in XI it would be two different interfaces. Do we have to go for creation TWO different queues at the MQ side, or a single queue would work.

Can we use a single queue, what are the pros and cons of using it, do we have to implement any logic to determine which mapping to be invoked depending on the source file.

Kindly drop in your comments and feedback.

Regards,

Younus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Since source system (Legacy) is single therefore only ONE Queue will work. Scondly in XI just create two different graphical & Interface mappings. In Integration Directory while doing the Interface Determination just use the condition to invoke the mappings as per your need.

Regards,

Sarvesh

Former Member
0 Kudos

Hi

I am making the assumption you are talking about using two different MQ Queues or a single MQQueue, in which case you have both options.

option1 - A single Queue. In this case both messages would arrive on the same q. The same ID Scenario would be used and then in the interface determination you apply the correct mapping and to create the relevant IDOC.

pros - All work done in a single interface

cons - error handeling may prove more difficult, interfaces cannot operate autonomiously

option2 - A Queue per message type - In this case you define and build the interfaces seperately with an ID scenrio for both.

pros - Maybe a little more work required here.

cons - interfaces cannot operate autonomiously including for build test etc.

Thanks

Damien

Answers (2)

Answers (2)

Former Member
0 Kudos

just to add ......!

if you are trying to send the sender which is haveing a Single source (Sender), then u must use the single JMS Queue where the Queue path should be unique.

Regards,

Aziz .

Former Member
0 Kudos

Hi Younus,

A third option to Damien's posting above:

Use MessageSelector functionality. Have a single MQ queue & 2 separate interfaces on XI.

Pros: Interfaces can work autonomously

Cons: You need to be on XI 7.0.1 or upwards otherwise MessageSelector doesn't work too well...

Regards, Trevor