Skip to Content

Connect SAP Enterprise Messaging to a 3rd party service

Hi,

I am trying to connect RabbitMQ and SAP EM service.

According to documentation, SAP EM supports messaging over AMQP 1.0 which in turn can be enabled in RabbitMQ (which by default is AMQP 0.9.1) by using a plug-in.

So currently I have: EM service, RabbitMQ server running with available exchanges and queues.

Logically, next steps in SCP would be:

  • create destination
  • create event channel group
  • create queue and queue subscription

Here come the questions:

  1. Are the steps above correct?
  2. Destination. There are only limited number of protocols available. AMQP isn't in the list. Should HTTP be selected?

Thank you.

D.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 10 at 03:46 PM

    Hi Dimi,

    let me try to understand your scenario in more detail: You want to connect SAP Enterprise Messaging with RabbitMQ. So you want to forward messages from one system to another?

    SAP Enterprise Messaging currenlty supports REST, MQTT (over WebSocket) and AMQP (over WebSocket), whereas it acts like a server/message broker. For RabbitMQ it's same: it's acting as a server/message broker.

    In this scenario there are no clients involved. So there is no component that is actually publishing or subscribing to the other system. At least I'm not aware of any configuration where one of the systems can subscribe to another messaging broker.

    I hope, that I got your question right. ;)

    Regards,
    Tobias

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Dimi,

      as a workaround for your intended scenario you could create a simple "proxy-application" that is a messaging client. It could connect/subscribe to both systems and tunnel the messages from one to another. Not an ideal solution but still possible.

      SAP Enterprise Messaging can be access from any client via the defined channels (MQTT, AMQP or REST). So any system could be an event provider. From SAP side we are obvioulsy focusing on our own products to get tightly integrated. Right now it's mainly S/4HANA, but there are more integrations planned for release in the near future.

      Regards,
      Tobias