Created
October 19, 2016 08:30
-
-
Save fganora/4d15073c26cc0cf3da36dd7f85764a0d to your computer and use it in GitHub Desktop.
Mule message send from MEL to a VM endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.mule.DefaultMuleMessage; | |
import org.mule.module.client.MuleClient; | |
request = new DefaultMuleMessage(payload, app.registry['_muleContext']); | |
MuleClient client = new MuleClient(app.registry['_muleContext']); | |
client.send("vm://myqueue", request); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment