Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MessageService |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: MessageService.java 19740 2010-09-27 14:47:48Z tcarlson $ | |
3 | * -------------------------------------------------------------------------------------- | |
4 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.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.module.bpm; | |
11 | ||
12 | import org.mule.MessageExchangePattern; | |
13 | import org.mule.api.MuleMessage; | |
14 | ||
15 | import java.util.Map; | |
16 | ||
17 | /** | |
18 | * A message-generation service provided by Mule. Any BPMS may call this service from | |
19 | * its own processes in order to generate Mule messages. The generated messages will | |
20 | * be received by the "bpm://processName" endpoint within your Mule config. | |
21 | */ | |
22 | public interface MessageService | |
23 | { | |
24 | public MuleMessage generateMessage(String endpoint, Object payloadObject, Map messageProperties, MessageExchangePattern mep) throws Exception; | |
25 | } |