org.apache.camel.queue
Class QueueEndpointResolver<E extends Exchange>
java.lang.Object
org.apache.camel.queue.QueueEndpointResolver<E>
- All Implemented Interfaces:
- EndpointResolver<E>
public class QueueEndpointResolver<E extends Exchange>
- extends Object
- implements EndpointResolver<E>
An implementation of EndpointResolver
that creates
QueueEndpoint
objects.
The syntax for a Queue URI looks like:
queue:[component:]queuename
the component is optional, and if it is not specified, the default component name
is assumed.
- Version:
- $Revision: 519901 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_COMPONENT_NAME
public static final String DEFAULT_COMPONENT_NAME
QueueEndpointResolver
public QueueEndpointResolver()
resolveComponent
public Component resolveComponent(CamelContext container,
String uri)
- Finds the
QueueComponent
specified by the uri. If the QueueComponent
object do not exist, it will be created.
- Specified by:
resolveComponent
in interface EndpointResolver<E extends Exchange>
- See Also:
EndpointResolver.resolveComponent(org.apache.camel.CamelContext, java.lang.String)
resolveEndpoint
public Endpoint<E> resolveEndpoint(CamelContext container,
String uri)
- Finds the
QueueEndpoint
specified by the uri. If the QueueEndpoint
or it's associated
QueueComponent
object do not exist, they will be created.
- Specified by:
resolveEndpoint
in interface EndpointResolver<E extends Exchange>
- See Also:
EndpointResolver.resolveEndpoint(org.apache.camel.CamelContext, java.lang.String)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.