SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 461 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

createMessage();
inout.setInMessage(msg);
send(inout);
}
else
{
rootExchange = (MessageExchange)aggregations.
get(correlationId);
NormalizedMessage response = rootExchange.createMessage();
response.setContent(new StringSource("
"));
rootExchange.setMessage(response, "out");
send(rootExchange);
aggregations.remove(correlationId);
}
done(exchange);
}
}
Assuming the "Address Validated" scenario as the normal flow, the newly created
MessageExchange will now again invoke the onMessageExchange method of the
Credit Gateway (which in turn calls the transform method of creditGateway??”
Sequence 5). When the Credit Gateway service returns, the onMessageExchange
method in the broker will be invoked again, this time also in the consumer role??”
consumer to the Credit Gateway service. The Credit Gateway service is simple. The
Sequence 5 is shown in the following figure:
Chapter 16
[ 359 ]
In the Credit Gateway service we create a recipient list and set it as a property in the
"out" message of the MessageExchange. This is shown in the following code:
public class CreditGateway extends TransformComponentSupport
{
private Map endPoints;
public void setEndPoints(Map endPoints)
{
this.


Pages:
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6