org.apache.camel.component.queue
Class QueueEndpointResolver<E extends Exchange>

java.lang.Object
  extended by org.apache.camel.component.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 $

Field Summary
static String DEFAULT_COMPONENT_NAME
           
 
Constructor Summary
QueueEndpointResolver()
           
 
Method Summary
 Component resolveComponent(CamelContext container, String uri)
          Finds the QueueComponent specified by the uri.
 Endpoint<E> resolveEndpoint(CamelContext container, String uri)
          Finds the QueueEndpoint specified by the uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_COMPONENT_NAME

public static final String DEFAULT_COMPONENT_NAME
Constructor Detail

QueueEndpointResolver

public QueueEndpointResolver()
Method Detail

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.