org.apache.camel.component.jms
Class JmsEndpointResolver

java.lang.Object
  extended by org.apache.camel.component.jms.JmsEndpointResolver
All Implemented Interfaces:
org.apache.camel.EndpointResolver<JmsExchange>

public class JmsEndpointResolver
extends Object
implements org.apache.camel.EndpointResolver<JmsExchange>

An implementation of EndpointResolver that creates JMSEndpoint objects.

The syntax for a JMS URI looks like:

jms:[component:]destination
the component is optional, and if it is not specified, the default component name is assumed.

Version:
$Revision:520964 $

Field Summary
static String DEFAULT_COMPONENT_NAME
           
 
Constructor Summary
JmsEndpointResolver()
           
 
Method Summary
 org.apache.camel.Component resolveComponent(org.apache.camel.CamelContext container, String uri)
          Finds the JmsComponent specified by the uri.
 JmsEndpoint resolveEndpoint(org.apache.camel.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

JmsEndpointResolver

public JmsEndpointResolver()
Method Detail

resolveComponent

public org.apache.camel.Component resolveComponent(org.apache.camel.CamelContext container,
                                                   String uri)
Finds the JmsComponent specified by the uri. If the JmsComponent object do not exist, it will be created.

Specified by:
resolveComponent in interface org.apache.camel.EndpointResolver<JmsExchange>

resolveEndpoint

public JmsEndpoint resolveEndpoint(org.apache.camel.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 org.apache.camel.EndpointResolver<JmsExchange>


Copyright © 2007 Apache Software Foundation. All Rights Reserved.