org.mule.transport.bpm.jbpm.actions
Class ValidateMessageType

java.lang.Object
  extended by org.mule.transport.bpm.jbpm.actions.LoggingActionHandler
      extended by org.mule.transport.bpm.jbpm.actions.IntegrationActionHandler
          extended by org.mule.transport.bpm.jbpm.actions.ValidateMessageType
All Implemented Interfaces:
Serializable, org.jbpm.graph.def.ActionHandler

public class ValidateMessageType
extends IntegrationActionHandler

Throws an exception if the incoming message's class is not as expected. com.mycompany.MyClass

See Also:
Serialized Form

Field Summary
protected  String expectedType
           
protected  boolean strict
           
 
Fields inherited from class org.mule.transport.bpm.jbpm.actions.LoggingActionHandler
logger
 
Constructor Summary
ValidateMessageType()
           
 
Method Summary
 void execute(org.jbpm.graph.exe.ExecutionContext executionContext)
           
 
Methods inherited from class org.mule.transport.bpm.jbpm.actions.IntegrationActionHandler
getIncomingMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedType

protected String expectedType

strict

protected boolean strict
Constructor Detail

ValidateMessageType

public ValidateMessageType()
Method Detail

execute

public void execute(org.jbpm.graph.exe.ExecutionContext executionContext)
             throws Exception
Specified by:
execute in interface org.jbpm.graph.def.ActionHandler
Overrides:
execute in class IntegrationActionHandler
Throws:
Exception


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.