org.apache.servicemix.client
Interface Destination

All Superinterfaces:
org.apache.servicemix.jbi.api.Destination

public interface Destination
extends org.apache.servicemix.jbi.api.Destination

Represents a JBI endpoint you can communicate with

Version:
$Revision: $

Method Summary
 javax.jbi.messaging.InOnly createInOnlyExchange()
          Creates an InOnly (one way) message exchange.
 Message createInOnlyMessage()
          Allows a Message to be created for an InOnly exchange for simpler one-way messaging.
 javax.jbi.messaging.InOptionalOut createInOptionalOutExchange()
          Creates an InOptionalOut (optional request-reply) message exchange.
 javax.jbi.messaging.InOut createInOutExchange()
          Creates an InOut (request-reply) message exchange.
 javax.jbi.messaging.RobustInOnly createRobustInOnlyExchange()
          Creates an RobustInOnly (one way) message exchange.
 

Method Detail

createInOnlyExchange

javax.jbi.messaging.InOnly createInOnlyExchange()
                                                throws javax.jbi.messaging.MessagingException
Creates an InOnly (one way) message exchange.

Specified by:
createInOnlyExchange in interface org.apache.servicemix.jbi.api.Destination
Returns:
the newly created message exchange
Throws:
javax.jbi.messaging.MessagingException

createInOutExchange

javax.jbi.messaging.InOut createInOutExchange()
                                              throws javax.jbi.messaging.MessagingException
Creates an InOut (request-reply) message exchange.

Specified by:
createInOutExchange in interface org.apache.servicemix.jbi.api.Destination
Returns:
the newly created message exchange
Throws:
javax.jbi.messaging.MessagingException

createInOptionalOutExchange

javax.jbi.messaging.InOptionalOut createInOptionalOutExchange()
                                                              throws javax.jbi.messaging.MessagingException
Creates an InOptionalOut (optional request-reply) message exchange.

Specified by:
createInOptionalOutExchange in interface org.apache.servicemix.jbi.api.Destination
Returns:
the newly created message exchange
Throws:
javax.jbi.messaging.MessagingException

createRobustInOnlyExchange

javax.jbi.messaging.RobustInOnly createRobustInOnlyExchange()
                                                            throws javax.jbi.messaging.MessagingException
Creates an RobustInOnly (one way) message exchange.

Specified by:
createRobustInOnlyExchange in interface org.apache.servicemix.jbi.api.Destination
Returns:
the newly created message exchange
Throws:
javax.jbi.messaging.MessagingException

createInOnlyMessage

Message createInOnlyMessage()
                            throws javax.jbi.messaging.MessagingException
Allows a Message to be created for an InOnly exchange for simpler one-way messaging.

Specified by:
createInOnlyMessage in interface org.apache.servicemix.jbi.api.Destination
Throws:
javax.jbi.messaging.MessagingException


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.