org.apache.servicemix.camel
Class JbiExchange

java.lang.Object
  extended by org.apache.camel.impl.DefaultExchange
      extended by org.apache.servicemix.camel.JbiExchange
All Implemented Interfaces:
org.apache.camel.Exchange

Deprecated.

@Deprecated
public class JbiExchange
extends org.apache.camel.impl.DefaultExchange

An Exchange working with JBI which exposes the underlying JBI features such as the JBI getMessageExchange(), getInMessage() and getOutMessage()

Version:
$Revision: 563665 $

Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultExchange
context
 
Fields inherited from interface org.apache.camel.Exchange
AGGREGATED_COUNT, CHARSET_NAME, EXCEPTION_HANDLED_PROPERTY
 
Constructor Summary
JbiExchange(org.apache.camel.CamelContext context, JbiBinding binding)
          Deprecated.  
 
Method Summary
protected  JbiMessage createFaultMessage()
          Deprecated.  
protected  JbiMessage createInMessage()
          Deprecated.  
protected  JbiMessage createOutMessage()
          Deprecated.  
 JbiBinding getBinding()
          Deprecated.  
 JbiMessage getFault()
          Deprecated.  
 JbiMessage getFault(boolean lazyCreate)
          Deprecated.  
 NormalizedMessage getFaultMessage()
          Deprecated. Returns the underlying Fault NormalizedMessage
 JbiMessage getIn()
          Deprecated.  
 NormalizedMessage getInMessage()
          Deprecated. Returns the underlying In NormalizedMessage
 MessageExchange getMessageExchange()
          Deprecated. Returns the underlying JBI message exchange for an inbound exchange or null for outbound messages
 JbiMessage getOut()
          Deprecated.  
 JbiMessage getOut(boolean lazyCreate)
          Deprecated.  
 NormalizedMessage getOutMessage()
          Deprecated. Returns the underlying Out NormalizedMessage
 org.apache.camel.Exchange newInstance()
          Deprecated.  
 
Methods inherited from class org.apache.camel.impl.DefaultExchange
configureMessage, copy, copyFrom, getContext, getException, getExchangeId, getPattern, getProperties, getProperty, getProperty, getUnitOfWork, isFailed, isTransacted, removeProperty, setException, setExchangeId, setFault, setIn, setOut, setPattern, setProperties, setProperty, setUnitOfWork, throwException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JbiExchange

public JbiExchange(org.apache.camel.CamelContext context,
                   JbiBinding binding)
Deprecated. 
Method Detail

getIn

public JbiMessage getIn()
Deprecated. 
Specified by:
getIn in interface org.apache.camel.Exchange
Overrides:
getIn in class org.apache.camel.impl.DefaultExchange

getOut

public JbiMessage getOut()
Deprecated. 
Specified by:
getOut in interface org.apache.camel.Exchange
Overrides:
getOut in class org.apache.camel.impl.DefaultExchange

getOut

public JbiMessage getOut(boolean lazyCreate)
Deprecated. 
Specified by:
getOut in interface org.apache.camel.Exchange
Overrides:
getOut in class org.apache.camel.impl.DefaultExchange

getFault

public JbiMessage getFault()
Deprecated. 
Specified by:
getFault in interface org.apache.camel.Exchange
Overrides:
getFault in class org.apache.camel.impl.DefaultExchange

getFault

public JbiMessage getFault(boolean lazyCreate)
Deprecated. 
Specified by:
getFault in interface org.apache.camel.Exchange
Overrides:
getFault in class org.apache.camel.impl.DefaultExchange

newInstance

public org.apache.camel.Exchange newInstance()
Deprecated. 
Specified by:
newInstance in interface org.apache.camel.Exchange
Overrides:
newInstance in class org.apache.camel.impl.DefaultExchange

getBinding

public JbiBinding getBinding()
Deprecated. 
Returns:
the Camel <-> JBI binding

getMessageExchange

public MessageExchange getMessageExchange()
Deprecated. 
Returns the underlying JBI message exchange for an inbound exchange or null for outbound messages

Returns:
the inbound message exchange

getInMessage

public NormalizedMessage getInMessage()
Deprecated. 
Returns the underlying In NormalizedMessage

Returns:
the In message

getOutMessage

public NormalizedMessage getOutMessage()
Deprecated. 
Returns the underlying Out NormalizedMessage

Returns:
the Out message

getFaultMessage

public NormalizedMessage getFaultMessage()
Deprecated. 
Returns the underlying Fault NormalizedMessage

Returns:
the Fault message

createInMessage

protected JbiMessage createInMessage()
Deprecated. 
Overrides:
createInMessage in class org.apache.camel.impl.DefaultExchange

createOutMessage

protected JbiMessage createOutMessage()
Deprecated. 
Overrides:
createOutMessage in class org.apache.camel.impl.DefaultExchange

createFaultMessage

protected JbiMessage createFaultMessage()
Deprecated. 
Overrides:
createFaultMessage in class org.apache.camel.impl.DefaultExchange


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