448 Patterns: SOA Foundation Service Connectivity Scenario
messages onto a JMS queue if the service is operating over JMS or generate
SOAP requests for Web service implementations). This direct approach would
solve both the output terminal issue as well as the issue of recomposing replies
from the service. However, doing this would defeat the componentry of the
mediation flows, as the call to the downstream service is now hard coded into the
mediation. Changes to the downstream service now could require significant
changes to the custom mediation, which would not be desirable. Alternatively,
you could create a mediation module with an SCA export wired directly to the
appropriate service import. The custom mediation module performing the