Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Scripting for data access resources > Configure data access with wsadmin scripting


Manage the message endpoint lifecycle using wsadmin.sh

Use Jython to manage your message endpoints with wsadmin.sh. Use this topic to query the configuration for message endpoint properties, and to deactivate or reactivate a message endpoint.

The Java EE Connector Architecture (JCA) allows the application server to link inbound requests from messaging resource adapters to message endpoints. The message endpoint managed bean (MBean) is a Java Management Extensions (JMX) framework MBean that the application server associates with a message endpoint instance.

Use this topic to manage situations where messaging providers fail to deliver messages to their intended destinations. For example, a provider might fail to deliver messages to a message endpoint when its underlying Message Driven Bean attempts to commit transactions against a database server that is not responding.

To troubleshoot the problem, use the wsadmin tool to temporarily disable the message endpoint from handling messages. After troubleshooting the issue, use wsadmin.sh to reactivate the message endpoint.

Also use this topic if you are connecting to WebSphere MQ and we have used the WAS_EndpointInitialState custom property in the activation specification to make a message endpoint start out in a deactivated state. Use wsadmin.sh when you are ready to activate the message endpoint.

The steps in this topic display how to use the AdminControl object and wsadmin.sh to invoke a Message Endpoint MBean to:

For transitioning users: Starting in v7.0, you can use the AdminControl object and wsadmin.sh to deactivate message endpoints to pause the endpoints from receiving messages, and to reactivate message endpoints to resume message handling. If you are connecting to WebSphere MQ, you can also use the WAS_EndpointInitialState custom property in the WebSphere MQ messaging provider activation specification to make a message endpoint start out in a deactivated state. Previously, the application server only activated and deactivated message endpoints when the application or resource adapter was started and stopped.trns


Procedure


Manage messages with message endpoints


Related


Messaging resources
Manage message endpoints
Data access problems
WebSphere MQ messaging provider activation specification settings

+

Search Tips   |   Advanced Search