LibraryToggle FramesPrintFeedback

To configure a JCA consumer endpoint do the following:

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

    This is specified using the service attribute.

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

    This is specified using the endpoint attribute.

  3. 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.

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

    For more information see Configuring a destination.

  5. Configure the JCA resource adapter that the consumer will use.

    You configure the endpoint's resource adapter using the resourceAdapter attribute. The attribute's value is a reference to the bean that configures the resource adapter.

  6. Configure the ActivationSpec object that will be used by the endpoint.

    You configure the endpoint's resource adapter using the activationSpec attribute. The attribute's value is a reference to the bean that configures the ActivationSpec object.

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

    For more information see Specifying the target endpoint.

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

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

Comments powered by Disqus