How do I invoke Camel routes from JBI
Skip to end of metadata
Go to start of metadata

How do I invoke Camel routes from JBI

When you use the JBI endpoint as follows

you automatically expose the endpoint to the NMR bus where service qname is

and endpoint name is MyEndpoint.

Then if you send a message via the JBI NMR to this JBI endpoint then it will be sent to the above Camel route.

Sending works in the same way: you use

to send messages to JBI endpoint deployed to the bus.

I noticed that people are used to somehow 'declaring' endpoints in SMX. In camel it is enough to simply start a flow from a jbi endpoint and camel will create it automatically.

Labels
  • No labels