A provider endpoint plays the role of a provider from the vantage point of other endpoints inside of the ESB. As shown in Figure 4.1, a provider endpoint receives messages from the NMR and places them onto a JMS destination. If the NMR message is part of an in-out message exchange, the endpoint will listen for the response on a reply destination.
The JMS binding component has two types of provider endpoints:
- Generic
The generic provider endpoint can handle any type of message data. It is configured using the
jms:provider
element.- SOAP
The SOAP provider endpoint is specifically tailored to receive SOAP messages. It uses a WSDL document to define the structure of the messages. It is configured using the
jms:soap-provider
element.Tip The Fuse Service Framework binding component's JMS transport is better adapted to handling SOAP messages, but offers less control over the JMS connection.