Message Consumer
Last updated
Was this helpful?
Last updated
Was this helpful?
Message Consumers allows you to connect your Service (application) with other Services, that can be written in different language or not using Ecotone's .
Consumer allow use to customize experience to fetch from chosen source:
Message Consumer
- This tells Ecotone to consider given method to be message consumer.
First parameter is used as Consumer Name and this is how it will be run.
Method declaration
- Depending how you define your , this way you will receive Message. In case of type hint for string
then Message payload will be delivered to you as string (xml/json however it's formatted).
Connecting Message Consumer to external broker, fetching message and converting it given class is done for you. All you need to do it set up of given type in your to use Message Consumer with given integration.