Message endpoint activation

 

+

Search Tips   |   Advanced Search

 

A message endpoint is activated by the appserver when the message endpoint application is started. During message endpoint activation, the appserver passes the ActivationSpec JavaBean, and a reference to the MessageEndpointFactory, to the resource adapter by invoking its endpointActivation method.

The resource adapter uses the information in the ActivationSpec JavaBean to interact with messaging provider and set up message delivery to the message endpoint. For a JMS message-driven bean, this might involve configuring a message selector or a durable subscription against the destination. Once the endpointActivation method returns, the message endpoint is ready to receive messages.

Next