|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.visitors.DOMServiceDelegateVisitor
FragmentRouter
public class DOMServiceDelegateVisitor
DomServiceDelegatorVisitor is a Smooks vistor which wraps the element object in an ESB Message object and then sends the message to the configured ESB Service.
Sample config (smooks-res.xml) :
<resource-config selector="OrderLines"> <resource>org.jboss.soa.esb.visitors.DOMServiceDelegateVisitor</resource> <param name="service-category-name">FirstServiceESB</param> <param name="service-name">sendToJMSQueue</param> <param name="send-in-visit-after">true</param>
Field Summary | |
---|---|
static java.lang.String |
SEND_IN_VISIT_AFTER
Deprecated. |
static java.lang.String |
SEND_IN_VISIT_BEFORE
Deprecated. |
Constructor Summary | |
---|---|
DOMServiceDelegateVisitor()
Deprecated. |
Method Summary | |
---|---|
protected Message |
createMessage(org.w3c.dom.Element element)
Deprecated. |
ServiceDelegator |
getServiceDelegator()
Deprecated. |
protected void |
sendToService(org.w3c.dom.Element element)
Deprecated. |
void |
setConfiguration(org.milyn.cdr.SmooksResourceConfiguration config)
Deprecated. |
void |
setServiceDelegator(ServiceDelegator serviceDelegator)
Deprecated. |
void |
visitAfter(org.w3c.dom.Element element,
org.milyn.container.ExecutionContext executionContext)
Deprecated. |
void |
visitBefore(org.w3c.dom.Element element,
org.milyn.container.ExecutionContext executionContext)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SEND_IN_VISIT_BEFORE
public static final java.lang.String SEND_IN_VISIT_AFTER
Constructor Detail |
---|
public DOMServiceDelegateVisitor()
Method Detail |
---|
public void visitAfter(org.w3c.dom.Element element, org.milyn.container.ExecutionContext executionContext) throws org.milyn.SmooksException
visitAfter
in interface org.milyn.delivery.dom.DOMVisitAfter
org.milyn.SmooksException
public void visitBefore(org.w3c.dom.Element element, org.milyn.container.ExecutionContext executionContext) throws org.milyn.SmooksException
visitBefore
in interface org.milyn.delivery.dom.DOMVisitBefore
org.milyn.SmooksException
protected void sendToService(org.w3c.dom.Element element) throws org.milyn.SmooksException
org.milyn.SmooksException
public void setConfiguration(org.milyn.cdr.SmooksResourceConfiguration config) throws org.milyn.cdr.SmooksConfigurationException
org.milyn.cdr.SmooksConfigurationException
protected Message createMessage(org.w3c.dom.Element element)
public ServiceDelegator getServiceDelegator()
public void setServiceDelegator(ServiceDelegator serviceDelegator)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |