samedi 31 janvier 2015

How to set drools return message to a variable in mule esb?


Vote count:

0




this is my rules.drl :



global org.mule.module.bpm.MessageService mule;
import com.hamgam.hit.esb.*;
import org.mule.MessageExchangePattern

rule "La Vita Ebela"
dialect "mvel"

when
$x:XMLDTO( inputXML == "inputXML" )
then
mule.generateMessage("emc", "emc", null, MessageExchangePattern.ONE_WAY);
end


currently it is adding the message to a Queue named "emc", but i need to set it into a variable like :



<set-variable variableName="emc" value=""/>


i dont know how to set a variable as an endpoint. can any one give me hint?



asked 23 secs ago

dave

1,220






How to set drools return message to a variable in mule esb?

Aucun commentaire:

Enregistrer un commentaire