org.apache.camel.pojo
Class PojoEndpointResolver

java.lang.Object
  extended by org.apache.camel.pojo.PojoEndpointResolver
All Implemented Interfaces:
EndpointResolver<PojoExchange>

public class PojoEndpointResolver
extends Object
implements EndpointResolver<PojoExchange>

An implementation of EndpointResolver that creates PojoEndpoint objects. The synatax for a Pojo URI looks like:

pojo:component:queuename

Version:
$Revision: 519901 $

Constructor Summary
PojoEndpointResolver()
           
 
Method Summary
 Component resolveComponent(CamelContext container, String uri)
          Finds the QueueComponent specified by the uri.
 PojoEndpoint 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
 

Constructor Detail

PojoEndpointResolver

public PojoEndpointResolver()
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<PojoExchange>
See Also:
EndpointResolver.resolveComponent(org.apache.camel.CamelContext, java.lang.String)

resolveEndpoint

public PojoEndpoint 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<PojoExchange>
See Also:
EndpointResolver.resolveEndpoint(org.apache.camel.CamelContext, java.lang.String)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.