org.apache.camel.component.netty
Class NettyEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.netty.NettyEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton

public class NettyEndpoint
extends DefaultEndpoint


Constructor Summary
NettyEndpoint(String endpointUri, Component component, NettyConfiguration configuration)
           
 
Method Summary
 Consumer createConsumer(Processor processor)
           
 Exchange createExchange(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent messageEvent)
           
 Producer createProducer()
           
 NettyConfiguration getConfiguration()
           
 boolean isSingleton()
           
 void setConfiguration(NettyConfiguration configuration)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NettyEndpoint

public NettyEndpoint(String endpointUri,
                     Component component,
                     NettyConfiguration configuration)
Method Detail

createConsumer

public Consumer createConsumer(Processor processor)
                        throws Exception
Throws:
Exception

createProducer

public Producer createProducer()
                        throws Exception
Throws:
Exception

createExchange

public Exchange createExchange(org.jboss.netty.channel.ChannelHandlerContext ctx,
                               org.jboss.netty.channel.MessageEvent messageEvent)

isSingleton

public boolean isSingleton()

getConfiguration

public NettyConfiguration getConfiguration()

setConfiguration

public void setConfiguration(NettyConfiguration configuration)


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.