LibraryToggle FramesPrintFeedback

To configure a generic consumer or a SOAP consumer do the following:

  1. Decide what type of consumer endpoint to use.

    See Types of consumer endpoints.

  2. Specify the name of the service for which this endpoint is acting as a proxy.

    This is specified using the service attribute.

    [Tip]Tip

    If you are using a SOAP consumer and your WSDL file only has one service defined, you do not need to specify the service name.

  3. Specify the name of the endpoint for which this endpoint is acting as a proxy.

    This is specified using the endpoint attribute.

    [Tip]Tip

    If you are using a SOAP consumer and your WSDL file only has one endpoint defined, you do not need to specify the endpoint name.

  4. Specify the connection factory the endpoint will use.

    The endpoint's connection factory is configured using the endpoint's connectionFactory attribute. The connectionFactory attribute's value is a reference to the bean that configures the connection factory. For example, if the connection factory configuration bean is named widgetConnectionFactory, the value of the connectionFactory attribute would be #widgetConnectionFactory.

    For information on configuring a connection factory see Configuring the Connection Factory.

  5. Specify the destination onto which the endpoint will place messages.

    For more information see Configuring a destination.

  6. Specify the ESB endpoint to which incoming messages are targeted.

    For more information see Specifying the target endpoint.

  7. If you are using a JMS SOAP consumer, specify the location of the WSDL defining the message exchange using the wsdl attribute.

  8. If your JMS destination is a topic, set the pubSubDomaim attribute to true.

  9. If your endpoint is interacting with a broker that only supports JMS 1.0.2, set the jms102 attribute to true.

A consumer endpoint chooses the destination to use for sending messages with the following algorithm:

Comments powered by Disqus