org.apache.servicemix.camel.nmr
Class ServiceMixComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.servicemix.camel.nmr.ServiceMixComponent
All Implemented Interfaces:
org.apache.camel.Component, org.apache.camel.Service

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

A camel component to bridge ServiceMix NMR with Camel.


Constructor Summary
ServiceMixComponent()
           
 
Method Summary
protected  org.apache.camel.Endpoint createEndpoint(java.lang.String uri, java.lang.String remaining, java.util.Map parameters)
           
 ServiceMixBinding getBinding()
           
 org.apache.servicemix.nmr.api.NMR getNmr()
           
 void registerEndpoint(org.apache.servicemix.nmr.api.Endpoint endpoint, java.util.Map<java.lang.String,?> properties)
           
 void setBinding(ServiceMixBinding binding)
           
 void setNmr(org.apache.servicemix.nmr.api.NMR nmr)
           
 void unregisterEndpoint(org.apache.servicemix.nmr.api.Endpoint endpoint, java.util.Map<java.lang.String,?> properties)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
afterConfiguration, convertTo, createEndpoint, createScheduledExecutorService, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, getScheduledExecutorService, ifStartsWithReturnRemainder, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMixComponent

public ServiceMixComponent()
Method Detail

getBinding

public ServiceMixBinding getBinding()

setBinding

public void setBinding(ServiceMixBinding binding)

getNmr

public org.apache.servicemix.nmr.api.NMR getNmr()

setNmr

public void setNmr(org.apache.servicemix.nmr.api.NMR nmr)

createEndpoint

protected org.apache.camel.Endpoint createEndpoint(java.lang.String uri,
                                                   java.lang.String remaining,
                                                   java.util.Map parameters)
                                            throws java.lang.Exception
Specified by:
createEndpoint in class org.apache.camel.impl.DefaultComponent
Throws:
java.lang.Exception

registerEndpoint

public void registerEndpoint(org.apache.servicemix.nmr.api.Endpoint endpoint,
                             java.util.Map<java.lang.String,?> properties)

unregisterEndpoint

public void unregisterEndpoint(org.apache.servicemix.nmr.api.Endpoint endpoint,
                               java.util.Map<java.lang.String,?> properties)


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