Mule JMX attribute to expose JMS connection status

View: New views
10 Messages — Rating Filter:   Alert me  

Mule JMX attribute to expose JMS connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

In our project we are using mule JMS connector to interface with remote IBM MQ server. Also we trying to monitor these JMS connector using JMX mbeans exposed by mule.

However we were unable to find any Mbean attribute which can give us the status of the JMX connector, i.e. if the connector have active/lost connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully started, even if the connections are lost after successfully starting due to network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other way to find the JMS connector's connection status say, using mule client etc..

Regards,
Deepan Subramani.

Re: Mule JMX attribute to expose JMX connection status

by Andrew Perepelytsya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You wouldn't believe it, but MQ doesn't really tell you if connection is alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@...> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context: http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Re: Mule JMX attribute to expose JMX connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew,

Thanks for your clarification,

Our JMS connector uses "com.ibm.mq.jms.MQConnectionFactory" api as the connection factory to connect the IBM MQ setup.

Hence can you please clarify if MQConnectionFactory api also doesn't have the capability to expose the status of the connections that it manages.

Thanks,
Deepan Subramani.


Andrew Perepelytsya wrote:
You wouldn't believe it, but MQ doesn't really tell you if connection is
alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@virtusa.com> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context:
http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

Re: Mule JMX attribute to expose JMS connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew,

Thanks for your clarification,

Our JMS connector uses "com.ibm.mq.jms.MQConnectionFactory" api as the connection factory to connect the IBM MQ setup.

Hence can you please clarify if MQConnectionFactory api also doesn't have the capability to expose the status of the connections that it manages.

Thanks,
Deepan Subramani.

Andrew Perepelytsya wrote:
You wouldn't believe it, but MQ doesn't really tell you if connection is
alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@virtusa.com> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context:
http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

Re: Mule JMX attribute to expose JMS connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew,

Thanks for your clarification,

Our JMS connector uses "com.ibm.mq.jms.MQConnectionFactory" api as the connection factory to connect the IBM MQ setup.

Hence can you please clarify if MQConnectionFactory api also doesn't have the capability to expose the status of the connections that it manages.

Thanks,
Deepan Subramani.
Andrew Perepelytsya wrote:
You wouldn't believe it, but MQ doesn't really tell you if connection is
alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@virtusa.com> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context:
http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

Re: Mule JMX attribute to expose JMS connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew,

Thanks for your clarification,

Our JMS connector uses "com.ibm.mq.jms.MQConnectionFactory" api as the connection factory to connect the IBM MQ setup.

Hence can you please clarify if MQConnectionFactory api also doesn't have the capability to expose the status of the connections that it manages.

Thanks,
Deepan Subramani.
Andrew Perepelytsya wrote:
You wouldn't believe it, but MQ doesn't really tell you if connection is
alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@virtusa.com> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context:
http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

Re: Mule JMX attribute to expose JMX connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew,

Thanks for your clarification,

Our JMS connector uses "com.ibm.mq.jms.MQConnectionFactory" api as the connection factory to connect the IBM MQ setup.

Hence can you please clarify if MQConnectionFactory api also doesn't have the capability to expose the status of the connections that it manages.

Thanks,
Deepan Subramani.
Andrew Perepelytsya wrote:
You wouldn't believe it, but MQ doesn't really tell you if connection is
alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@virtusa.com> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context:
http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

Re: Mule JMX attribute to expose JMX connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Andrew Perepelytsya wrote:
You wouldn't believe it, but MQ doesn't really tell you if connection is
alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@virtusa.com> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context:
http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

Re: Mule JMX attribute to expose JMS connection status

by deepan s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew,

Thanks for your clarification,

Our JMS connector uses "com.ibm.mq.jms.MQConnectionFactory" api as the connection factory to connect the IBM MQ setup.

Hence can you please clarify if MQConnectionFactory api also doesn't have the capability to expose the status of the connections that it manages.

Thanks,
Deepan Subramani.
Andrew Perepelytsya wrote:
You wouldn't believe it, but MQ doesn't really tell you if connection is
alive, it will just fail on the next send or receive attempt.

HTH,
Andrew

On Oct 30, 2009 6:32 AM, "deepan s" <deepans@virtusa.com> wrote:


Hi,

In our project we are using mule JMS connector to interface with remote IBM
MQ server. Also we trying to monitor these JMS connector using JMX mbeans
exposed by mule.

However we were unable to find any Mbean attribute which can give us the
status of the JMX connector, i.e. if the connector have active/lost
connections with the remote MQ server.

None of the current mbean attributes listed below provides this informaiton,
- Disposed
- ExceptionListener
- Name
- Protocol
- Started (This attribute remains true once the connector is successfully
started, even if the connections are lost after successfully starting due to
network issue or remote JMS server failure)

Can you please help us to find, if it is feasible to monitor the JMS
connector's connection status from JMX mbean

If not feasible with JMX, can you please let us know if there is any other
way to find the JMS connector's connection status say, using mule client
etc..

Regards,
Deepan Subramani.

--
View this message in context:
http://old.nabble.com/Mule-JMX-attribute-to-expose-JMX-connection-status-tp26127845p26127845.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email

Re: Mule JMX attribute to expose JMS connection status

by portia elizabeth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One way would be to use the Mule quartz provider to send a message to a simple echo component through JMS every x seconds. If you make this a sync call the non availability the JMS connector should lead increases in the error count in the statistics for this component. These statistics can be monitored through JMX.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email