org.apache.servicemix.camel
Class JbiComponent

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.servicemix.camel.JbiComponent
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
Direct Known Subclasses:
OsgiJbiComponent

public class JbiComponent
extends org.apache.camel.impl.DefaultComponent


Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
protected JbiComponent()
           
  JbiComponent(CamelComponent component)
           
 
Method Summary
protected  JbiBinding createBinding(org.apache.camel.Endpoint camelEndpoint)
           
protected  org.apache.camel.AsyncProcessor createCamelProcessor(org.apache.camel.Endpoint camelEndpoint)
           
 org.apache.camel.Endpoint createEndpoint(java.lang.String uri)
           
protected  org.apache.camel.Endpoint createEndpoint(java.lang.String arg0, java.lang.String arg1, java.util.Map<java.lang.String,java.lang.Object> arg2)
           
protected  java.lang.String createEndpointName()
           
 CamelProviderEndpoint createJbiEndpointFromCamel(org.apache.camel.Endpoint camelEndpoint)
          Returns a JBI endpoint created for the given Camel endpoint
protected  CamelProviderEndpoint createJbiEndpointFromCamel(org.apache.camel.Endpoint camelEndpoint, org.apache.camel.AsyncProcessor processor)
           
 org.apache.camel.CamelContext getCamelContext()
           
 CamelComponent getCamelJbiComponent()
           
 java.lang.String getSuName()
           
 void setCamelContext(org.apache.camel.CamelContext context)
           
 void setCamelJbiComponent(CamelComponent component)
           
 void setSuName(java.lang.String su)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
afterConfiguration, createConfiguration, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbiComponent

public JbiComponent(CamelComponent component)

JbiComponent

protected JbiComponent()
Method Detail

getCamelContext

public org.apache.camel.CamelContext getCamelContext()
Specified by:
getCamelContext in interface org.apache.camel.CamelContextAware
Overrides:
getCamelContext in class org.apache.camel.impl.DefaultComponent

setCamelContext

public void setCamelContext(org.apache.camel.CamelContext context)
Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware
Overrides:
setCamelContext in class org.apache.camel.impl.DefaultComponent

setCamelJbiComponent

public final void setCamelJbiComponent(CamelComponent component)

getCamelJbiComponent

public CamelComponent getCamelJbiComponent()

setSuName

public void setSuName(java.lang.String su)

getSuName

public java.lang.String getSuName()

createEndpoint

public org.apache.camel.Endpoint createEndpoint(java.lang.String uri)
Specified by:
createEndpoint in interface org.apache.camel.Component
Overrides:
createEndpoint in class org.apache.camel.impl.DefaultComponent

createJbiEndpointFromCamel

protected CamelProviderEndpoint createJbiEndpointFromCamel(org.apache.camel.Endpoint camelEndpoint,
                                                           org.apache.camel.AsyncProcessor processor)

createBinding

protected JbiBinding createBinding(org.apache.camel.Endpoint camelEndpoint)

createEndpointName

protected java.lang.String createEndpointName()

createJbiEndpointFromCamel

public CamelProviderEndpoint createJbiEndpointFromCamel(org.apache.camel.Endpoint camelEndpoint)
Returns a JBI endpoint created for the given Camel endpoint


createCamelProcessor

protected org.apache.camel.AsyncProcessor createCamelProcessor(org.apache.camel.Endpoint camelEndpoint)

createEndpoint

protected org.apache.camel.Endpoint createEndpoint(java.lang.String arg0,
                                                   java.lang.String arg1,
                                                   java.util.Map<java.lang.String,java.lang.Object> arg2)
                                            throws java.lang.Exception
Specified by:
createEndpoint in class org.apache.camel.impl.DefaultComponent
Throws:
java.lang.Exception


Copyright © 2005-2012 FuseSource. All Rights Reserved.