P6Cmb
Platform 6 common message bus (CMB) Producer is a generalized common message bus request/response component to allow other event triggers to invoke requests on the CMB.
For more information about the Camel Exchange: https://camel.apache.org/exchange.html.
.to("p6cmb://scripts?platform6.request.action=execute&id=TransferHandler")
The destination service’s name forms the first part of the URL followed by any specific common message headers required by the receiving service.
The Camel Exchange In message is also mapped to the common message delivered to the named service:
- Any In message body is mapped to an attachment called
body
. - All In message headers are mapped to common message headers.
The response from the common message exchange is also re-mapped to the Out message in the Camel Exchange.