org.mule.transport.bpm.jbpm
Class MuleMessageService
java.lang.Object
org.mule.transport.bpm.jbpm.MuleMessageService
- All Implemented Interfaces:
- Serializable, org.jbpm.msg.MessageService, org.jbpm.svc.Service
public class MuleMessageService
- extends Object
- implements org.jbpm.msg.MessageService
jBPM has built-in support for messaging via the org.jbpm.msg.MessageService interface,
the idea being that one can plug in a JMS implementation and send messages from a process
using a standard "" construct.
If Mule were to implement this interface, one could make Mule the standard MessageService
instead of JMS, which would make the Mule/jBPM integration more "seamless".
This is an unfinished work, see MULE-1219
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
protected static MessageService proxy
MuleMessageService
public MuleMessageService()
setMessageService
public static void setMessageService(MessageService msgService)
generateMessage
public MuleMessage generateMessage(String endpoint,
Object payloadObject,
Map messageProperties,
boolean synchronous)
throws Exception
- Throws:
Exception
send
public void send(org.jbpm.job.Job job)
- Specified by:
send
in interface org.jbpm.msg.MessageService
suspendMessages
public void suspendMessages(org.jbpm.graph.exe.Token token)
resumeMessages
public void resumeMessages(org.jbpm.graph.exe.Token token)
close
public void close()
- Specified by:
close
in interface org.jbpm.msg.MessageService
- Specified by:
close
in interface org.jbpm.svc.Service
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.