|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.impl.DefaultEndpoint org.apache.camel.component.direct.DirectEndpoint
public class DirectEndpoint
Represents a direct endpoint that synchronously invokes the consumers of the endpoint when a producer sends a message to it.
Constructor Summary | |
---|---|
DirectEndpoint()
|
|
DirectEndpoint(String endpointUri)
|
|
DirectEndpoint(String uri,
DirectComponent component)
|
Method Summary | |
---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint |
List<DefaultConsumer> |
getConsumers()
|
boolean |
isAllowMultipleConsumers()
|
boolean |
isSingleton()
Wheter this class supports being singleton or not. |
void |
setAllowMultipleConsumers(boolean allowMutlipleConsumers)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirectEndpoint()
public DirectEndpoint(String uri, DirectComponent component)
public DirectEndpoint(String endpointUri)
Method Detail |
---|
public Producer createProducer() throws Exception
Endpoint
Exception
- can be thrownpublic Consumer createConsumer(Processor processor) throws Exception
Endpoint
processor
- the given processor
Exception
- can be thrownpublic boolean isAllowMultipleConsumers()
public void setAllowMultipleConsumers(boolean allowMutlipleConsumers)
public boolean isSingleton()
IsSingleton
public List<DefaultConsumer> getConsumers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |