org.ow2.petals.jbi.messaging.control
Class JMXExchangeCheckerClientImpl
java.lang.Object
org.ow2.petals.jbi.messaging.control.JMXExchangeCheckerClientImpl
- All Implemented Interfaces:
- ExchangeCheckerClient
public class JMXExchangeCheckerClientImpl
- extends java.lang.Object
- implements ExchangeCheckerClient
The JMX implementation of the echange checker client.
TODO: The exchange checker must be implemented via the transporter.
- Author:
- chamerling - eBM WebSourcing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jmxService
protected JMXService jmxService
JMXExchangeCheckerClientImpl
public JMXExchangeCheckerClientImpl()
start
protected void start()
stop
protected void stop()
isExchangeWithConsumerOkayForComponent
public boolean isExchangeWithConsumerOkayForComponent(ServiceEndpoint internalEndpoint,
javax.jbi.messaging.MessageExchange exchange)
- Query a component to check if it is ready to accept the exchange as a
consumer
- Specified by:
isExchangeWithConsumerOkayForComponent in interface ExchangeCheckerClient
- Parameters:
internalEndpoint - the endpoint to be used by the consumer; must be non nullexchange - the proposed message exchange to be perfomed; must be non null
- Returns:
- true if the provider component can perform the given exchange
with the described consumer
isExchangeWithProviderOkayForComponent
public boolean isExchangeWithProviderOkayForComponent(ServiceEndpoint internalEndpoint,
javax.jbi.messaging.MessageExchange exchange)
- Query a component to check if it is ready to accept the exchange as a
provider
- Specified by:
isExchangeWithProviderOkayForComponent in interface ExchangeCheckerClient
- Parameters:
internalEndpoint - the endpoint to be used by the provider; must be non nullexchange - the message exchange that is to be performed
- Returns:
- true if this consumer component can interact with the described
provider to perform the given exchange
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.