|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle
org.jboss.soa.esb.listeners.gateway.camel.CamelGateway
public class CamelGateway
The CamelGateway leverages Apache Camel's input capabilities, translates the Camel Message to an ESB Message, and invokes the associated ESB Service.
Configuration example:
<jbossesb ...>
<providers>
<camel-provider name="...">
<camel-bus busid="...">
<from uri="..."/>
...
</camel-bus>
</camel-provider>
</providers>
<services>
<listeners>
<camel-gateway name="..." busidref="..."/>
</listeners>
<actions>
<action .../>
</actions>
</services>
</jbossesb>
For more detailed information, please visit this wiki page:
http://community.jboss.org/wiki/CamelGateway
or refer to the Programmer's Guide.
Field Summary | |
---|---|
static java.lang.String |
ROUTES
|
Fields inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
---|
PARAM_TERMINATION_PERIOD |
Constructor Summary | |
---|---|
CamelGateway(ConfigTree config)
|
Method Summary | |
---|---|
protected void |
doDestroy()
Handle the destroy of the managed instance. |
protected void |
doInitialise()
Handle the initialisation of the managed instance. |
protected void |
doStart()
Handle the start of the managed instance. |
protected void |
doStop()
Handle the stop of the managed instance. |
Methods inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
---|
addManagedLifecycleEventListener, changeState, destroy, getConfig, getState, getTerminationPeriod, initialise, removeManagedLifecycleEventListener, start, stop, waitUntilDestroyed, waitUntilDestroyed, waitUntilNotState, waitUntilState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ROUTES
Constructor Detail |
---|
public CamelGateway(ConfigTree config) throws ConfigurationException
ConfigurationException
Method Detail |
---|
protected void doInitialise() throws ManagedLifecycleException
AbstractManagedLifecycle
doInitialise
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while initialisation.protected void doStart() throws ManagedLifecycleException
AbstractManagedLifecycle
doStart
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while starting.protected void doStop() throws ManagedLifecycleException
AbstractManagedLifecycle
doStop
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while stopping.protected void doDestroy() throws ManagedLifecycleException
AbstractManagedLifecycle
doDestroy
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while destroying.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |