org.apache.camel.component.cometd
Class CometdEndpoint

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

public class CometdEndpoint
extends DefaultEndpoint

Endpoint for Camel Cometd.

Version:
$Revision:520964 $

Constructor Summary
CometdEndpoint(CometdComponent component, String uri, String remaining, Map<String,Object> parameters)
           
 
Method Summary
 void connect(CometdProducerConsumer prodcons)
           
 Consumer createConsumer(Processor processor)
           
 Producer createProducer()
           
 void disconnect(CometdProducerConsumer prodcons)
           
 CometdComponent getComponent()
           
 int getInterval()
           
 int getLogLevel()
           
 int getMaxInterval()
           
 int getMultiFrameInterval()
           
 String getPath()
           
 int getPort()
           
 String getProtocol()
           
 String getResourceBase()
           
 int getTimeout()
           
 URI getUri()
           
 boolean isJsonCommented()
           
 boolean isSingleton()
           
 void setInterval(int interval)
           
 void setJsonCommented(boolean commented)
           
 void setLogLevel(int logLevel)
           
 void setMaxInterval(int maxInterval)
           
 void setMultiFrameInterval(int multiFrameInterval)
           
 void setResourceBase(String resourceBase)
           
 void setTimeout(int timeout)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CometdEndpoint

public CometdEndpoint(CometdComponent component,
                      String uri,
                      String remaining,
                      Map<String,Object> parameters)
Method Detail

createProducer

public Producer createProducer()
                        throws Exception
Throws:
Exception

createConsumer

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

connect

public void connect(CometdProducerConsumer prodcons)
             throws Exception
Throws:
Exception

disconnect

public void disconnect(CometdProducerConsumer prodcons)
                throws Exception
Throws:
Exception

getComponent

public CometdComponent getComponent()
Overrides:
getComponent in class DefaultEndpoint

isSingleton

public boolean isSingleton()

getPath

public String getPath()

getPort

public int getPort()

getProtocol

public String getProtocol()

getUri

public URI getUri()

getResourceBase

public String getResourceBase()

setResourceBase

public void setResourceBase(String resourceBase)

getTimeout

public int getTimeout()

setTimeout

public void setTimeout(int timeout)

getInterval

public int getInterval()

setInterval

public void setInterval(int interval)

getMaxInterval

public int getMaxInterval()

setMaxInterval

public void setMaxInterval(int maxInterval)

getMultiFrameInterval

public int getMultiFrameInterval()

setMultiFrameInterval

public void setMultiFrameInterval(int multiFrameInterval)

isJsonCommented

public boolean isJsonCommented()

setJsonCommented

public void setJsonCommented(boolean commented)

getLogLevel

public int getLogLevel()

setLogLevel

public void setLogLevel(int logLevel)


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.