org.ow2.petals.jbi.messaging.control
Interface ExchangeCheckerClient

All Known Implementing Classes:
JMXExchangeCheckerClientImpl

public interface ExchangeCheckerClient

Author:
chamerling - eBM WebSourcing

Method Summary
 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
 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
 

Method Detail

isExchangeWithConsumerOkayForComponent

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

Parameters:
internalEndpoint - the endpoint to be used by the consumer; must be non null
exchange - 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

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

Parameters:
internalEndpoint - the endpoint to be used by the provider; must be non null
exchange - 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.