org.apache.camel.component.cometd
Class CometdBinding
java.lang.Object
org.apache.camel.component.cometd.CometdBinding
public class CometdBinding
- extends Object
A Strategy used to convert between a Camel Exchange and
to and from a Cometd messages
|
Constructor Summary |
CometdBinding(org.cometd.server.BayeuxServerImpl bayeux)
|
CometdBinding(org.cometd.server.BayeuxServerImpl bayeux,
boolean enableSessionHeader)
|
|
Method Summary |
void |
addHeadersToMessage(org.cometd.bayeux.server.ServerMessage.Mutable cometdMessage,
org.apache.camel.Message camelMessage)
|
org.apache.camel.Message |
createCamelMessage(org.cometd.bayeux.server.ServerSession remote,
org.cometd.bayeux.server.ServerMessage cometdMessage,
Object data)
|
org.cometd.bayeux.server.ServerMessage.Mutable |
createCometdMessage(org.cometd.bayeux.server.ServerChannel channel,
org.cometd.bayeux.server.ServerSession serverSession,
org.apache.camel.Message camelMessage)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADERS_FIELD
public static final String HEADERS_FIELD
- See Also:
- Constant Field Values
COMETD_CLIENT_ID_HEADER_NAME
public static final String COMETD_CLIENT_ID_HEADER_NAME
- See Also:
- Constant Field Values
COMETD_SUBSCRIPTION_HEADER_NAME
public static final String COMETD_SUBSCRIPTION_HEADER_NAME
- See Also:
- Constant Field Values
COMETD_SESSION_ATTR_HEADER_NAME
public static final String COMETD_SESSION_ATTR_HEADER_NAME
- See Also:
- Constant Field Values
CometdBinding
public CometdBinding(org.cometd.server.BayeuxServerImpl bayeux)
CometdBinding
public CometdBinding(org.cometd.server.BayeuxServerImpl bayeux,
boolean enableSessionHeader)
createCometdMessage
public org.cometd.bayeux.server.ServerMessage.Mutable createCometdMessage(org.cometd.bayeux.server.ServerChannel channel,
org.cometd.bayeux.server.ServerSession serverSession,
org.apache.camel.Message camelMessage)
createCamelMessage
public org.apache.camel.Message createCamelMessage(org.cometd.bayeux.server.ServerSession remote,
org.cometd.bayeux.server.ServerMessage cometdMessage,
Object data)
addHeadersToMessage
public void addHeadersToMessage(org.cometd.bayeux.server.ServerMessage.Mutable cometdMessage,
org.apache.camel.Message camelMessage)
Apache CAMEL