The only way to stop a connector in jca, afaik, is to activate / deactivate the endpoint.
This is what is done when you create / detroy a JCAConnector.
This object is light weight, and you should create / destroy them when needed.

Cheers,
Guillaume Nodet

Raman Gupta wrote:

Hi, is there a way to start/stop a JCAConnector at runtime?

My application is configured via Spring. However, I don't want messages
to be read by any of my JCAConnector's until I have explicitly started
the connector (to ensure that no uninitialized dependent components remain).

In addition, I want to be able to stop reading individual queues at
runtime without having to shut down the entire application.

I don't see any facility in the javadocs that would allow me to do this.
Am I missing something or is there another way?

Cheers,
Raman



Reply via email to