Created
September 17, 2009 20:20
-
-
Save edgars/188685 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Message setup(Message message) { | |
String msgBody = (String) message.getBody().get(); | |
System.out.println("Conteudo: " + msgBody); | |
HashMap requestMap = new HashMap(); | |
// add paramaters to the web service request map | |
requestMap.put("Entrada", msgBody); | |
// The "paramsLocation" property was set in jboss-esb.xml to | |
// "helloworld-request-parameters" | |
message.getBody().add(requestMap); | |
System.out.println("Request map is: " + requestMap.toString()); | |
return message; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment