Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MessageService |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: MessageService.java 11538 2008-04-08 18:04:14Z tcarlson $ | |
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 | package org.mule.transport.bpm; | |
11 | ||
12 | import org.mule.api.MuleMessage; | |
13 | ||
14 | import java.util.Map; | |
15 | ||
16 | /** | |
17 | * A message-generation service provided by Mule. Any BPMS may call this service from | |
18 | * its own processes in order to generate Mule messages. The generated messages will | |
19 | * be received by the "bpm://processName" endpoint within your Mule config. | |
20 | */ | |
21 | public interface MessageService { | |
22 | ||
23 | public MuleMessage generateMessage(String endpoint, Object payloadObject, Map messageProperties, boolean synchronous) throws Exception; | |
24 | } |