|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.smooks.camel.routing.BeanRouter
public class BeanRouter
Camel bean routing visitor.
| Constructor Summary | |
|---|---|
BeanRouter()
|
|
BeanRouter(org.apache.camel.CamelContext camelContext)
|
|
| Method Summary | |
|---|---|
boolean |
consumes(java.lang.Object object)
|
void |
executeExecutionLifecycleCleanup(ExecutionContext executionContext)
|
void |
executeExecutionLifecycleInitialize(ExecutionContext executionContext)
|
void |
initialize()
|
protected void |
sendBean(java.lang.Object bean,
ExecutionContext execContext)
Send the bean to the target endpoint. |
BeanRouter |
setBeanId(java.lang.String beanId)
Set the beanId of the bean to be routed. |
BeanRouter |
setCorrelationIdName(java.lang.String correlationIdName)
Set the correlationId header name. |
BeanRouter |
setCorrelationIdPattern(java.lang.String correlationIdPattern)
Set the correlationId pattern used to generate correlationIds. |
BeanRouter |
setToEndpoint(java.lang.String toEndpoint)
Set the Camel endpoint to which the bean is to be routed. |
void |
uninitialize()
|
void |
visitAfter(SAXElement element,
ExecutionContext execContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanRouter()
public BeanRouter(org.apache.camel.CamelContext camelContext)
| Method Detail |
|---|
@Initialize public void initialize()
public BeanRouter setBeanId(java.lang.String beanId)
beanId - the beanId to set
public BeanRouter setToEndpoint(java.lang.String toEndpoint)
toEndpoint - the toEndpoint to set
public BeanRouter setCorrelationIdName(java.lang.String correlationIdName)
public BeanRouter setCorrelationIdPattern(java.lang.String correlationIdPattern)
correlationIdPattern - The pattern generator template.
public void visitAfter(SAXElement element,
ExecutionContext execContext)
throws SmooksException,
java.io.IOException
visitAfter in interface SAXVisitAfterSmooksException
java.io.IOException
protected void sendBean(java.lang.Object bean,
ExecutionContext execContext)
bean - The bean to be sent.execContext - The execution context.@Uninitialize public void uninitialize()
public boolean consumes(java.lang.Object object)
consumes in interface Consumerpublic void executeExecutionLifecycleInitialize(ExecutionContext executionContext)
executeExecutionLifecycleInitialize in interface ExecutionLifecycleInitializablepublic void executeExecutionLifecycleCleanup(ExecutionContext executionContext)
executeExecutionLifecycleCleanup in interface ExecutionLifecycleCleanable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||