org.apache.camel.util
Class CamelContextHelper

java.lang.Object
  extended by org.apache.camel.util.CamelContextHelper

public class CamelContextHelper
extends Object

A number of helper methods

Version:
$Revision: $

Method Summary
static Endpoint getMandatoryEndpoint(CamelContext camelContext, String uri)
          Returns the mandatory endpoint for the given URI or the NoSuchEndpointException is thrown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMandatoryEndpoint

public static Endpoint getMandatoryEndpoint(CamelContext camelContext,
                                            String uri)
                                     throws NoSuchEndpointException
Returns the mandatory endpoint for the given URI or the NoSuchEndpointException is thrown

Parameters:
camelContext -
uri -
Returns:
Throws:
NoSuchEndpointException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.