org.apache.camel.component.seda
Class SedaComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<Exchange>
org.apache.camel.component.seda.SedaComponent
- All Implemented Interfaces:
- Component<Exchange>, Service
- Direct Known Subclasses:
- QueueComponent, VmComponent
public class SedaComponent
- extends DefaultComponent<Exchange>
An implementation of the SEDA components
for asynchronous SEDA exchanges on a BlockingQueue
within a CamelContext
- Version:
- $Revision: 41272 $
Methods inherited from class org.apache.camel.impl.DefaultComponent |
convertTo, createEndpoint, createExecutorService, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint, validateURI |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SedaComponent
public SedaComponent()
createQueue
public BlockingQueue<Exchange> createQueue(String uri,
Map parameters)
createEndpoint
protected Endpoint createEndpoint(String uri,
String remaining,
Map parameters)
throws Exception
- Description copied from class:
DefaultComponent
- A factory method allowing derived components to create a new endpoint
from the given URI, remaining path and optional parameters
- Specified by:
createEndpoint
in class DefaultComponent<Exchange>
- Parameters:
uri
- the full URI of the endpointremaining
- the remaining part of the URI without the query
parameters or component prefixparameters
- the optional parameters passed in
- Returns:
- a newly created endpoint or null if the endpoint cannot be
created based on the inputs
- Throws:
Exception
Copyright © 2008 IONA Open Source Community. All Rights Reserved.