Skip to Content

Has anyone used a JMS queue to Route multiple message types to On-Premise?

Given the limit on the number of JMS Queues, it seems like it would be a best to use one queue to send multiple types of messages to our On-Premise ECC system. Given that message xyz needs to go to ECC address 1 and message abc needs to go to ECC address 2. Can this be done using the message id? If so, would someone be able to share how they resolved the issue?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 11, 2017 at 02:36 PM

    In your read from the queue flow have you tried using a router with condition expression matching the message type (//MESTYP= 'ZMATMAS') and posting to the corresponding ECC address.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 12, 2017 at 09:34 PM

    I have and this is working for one of my scenerios. But I have another scenerio where we receive a <ns1:ZINVOICE xmlns:ns1="urn:sap-com:document:sap:rfc:functions"> and a <ns1:ZVOUCHER xmlns:ns1="urn:sap-com:document:sap:rfc:functions">. Since there is a limit on the number of JMS queues allowed, I would like to group some of them up and then use a Router to send the to correct On-Premise Receiver end point. I'm new to all of this, so maybe the answer is obvious to all but me :)

    Add comment
    10|10000 characters needed characters exceeded