|
||||||||||
| 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(Object object)
|
void |
executeExecutionLifecycleCleanup(org.milyn.container.ExecutionContext executionContext)
|
void |
executeExecutionLifecycleInitialize(org.milyn.container.ExecutionContext executionContext)
|
void |
initialize()
|
protected void |
sendBean(Object bean,
org.milyn.container.ExecutionContext execContext)
Send the bean to the target endpoint. |
BeanRouter |
setBeanId(String beanId)
Set the beanId of the bean to be routed. |
BeanRouter |
setCorrelationIdName(String correlationIdName)
Set the correlationId header name. |
BeanRouter |
setCorrelationIdPattern(String correlationIdPattern)
Set the correlationId pattern used to generate correlationIds. |
BeanRouter |
setToEndpoint(String toEndpoint)
Set the Camel endpoint to which the bean is to be routed. |
void |
uninitialize()
|
void |
visitAfter(org.milyn.delivery.sax.SAXElement element,
org.milyn.container.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(String beanId)
beanId - the beanId to set
public BeanRouter setToEndpoint(String toEndpoint)
toEndpoint - the toEndpoint to set
public BeanRouter setCorrelationIdName(String correlationIdName)
public BeanRouter setCorrelationIdPattern(String correlationIdPattern)
correlationIdPattern - The pattern generator template.
public void visitAfter(org.milyn.delivery.sax.SAXElement element,
org.milyn.container.ExecutionContext execContext)
throws org.milyn.SmooksException,
IOException
visitAfter in interface org.milyn.delivery.sax.SAXVisitAfterorg.milyn.SmooksException
IOException
protected void sendBean(Object bean,
org.milyn.container.ExecutionContext execContext)
bean - The bean to be sent.execContext - The execution context.@Uninitialize public void uninitialize()
public boolean consumes(Object object)
consumes in interface org.milyn.delivery.ordering.Consumerpublic void executeExecutionLifecycleInitialize(org.milyn.container.ExecutionContext executionContext)
executeExecutionLifecycleInitialize in interface org.milyn.delivery.ExecutionLifecycleInitializablepublic void executeExecutionLifecycleCleanup(org.milyn.container.ExecutionContext executionContext)
executeExecutionLifecycleCleanup in interface org.milyn.delivery.ExecutionLifecycleCleanable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||