Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SendMuleEventAndContinue |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: SendMuleEventAndContinue.java 10489 2008-01-23 17:53:38Z dfeist $ | |
3 | * -------------------------------------------------------------------------------------- | |
4 | * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com | |
5 | * | |
6 | * The software in this package is published under the terms of the CPAL v1.0 | |
7 | * license, a copy of which has been included with this distribution in the | |
8 | * LICENSE.txt file. | |
9 | */ | |
10 | ||
11 | package org.mule.transport.bpm.jbpm.actions; | |
12 | ||
13 | import org.mule.transport.bpm.ProcessConnector; | |
14 | ||
15 | import org.jbpm.graph.exe.ExecutionContext; | |
16 | ||
17 | /** | |
18 | * Sends a Mule message to the specified endpoint and continues execution to the next | |
19 | * state. This class assumes the current state has only one leaving transition. | |
20 | * | |
21 | * @param url - the Mule endpoint | |
22 | * @param transformers - any transformers to be applied | |
23 | * @param payload - specify the payload as a string directly in the jPDL | |
24 | * @param payloadSource - process variable from which to generate the message | |
25 | * payload, defaults to {@link ProcessConnector.PROCESS_VARIABLE_DATA} | |
26 | * @param messageProperties - any properties to be applied to the message | |
27 | */ | |
28 | 0 | public class SendMuleEventAndContinue extends SendMuleEvent |
29 | { | |
30 | ||
31 | private static final long serialVersionUID = 1L; | |
32 | ||
33 | public void execute(ExecutionContext executionContext) throws Exception | |
34 | { | |
35 | 0 | super.execute(executionContext); |
36 | 0 | executionContext.leaveNode(); |
37 | 0 | } |
38 | ||
39 | } |