org.apache.camel.jms
Class JmsEndpointResolver
java.lang.Object
org.apache.camel.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: 520404 $
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
JmsEndpointResolver
public JmsEndpointResolver()
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.