If you have deployed your BPEL process and it’s partner services on the same WSO2 Carbon instance, you can avoid the network overhead using usePeer2Peer=”false” for the particular partner interaction in deploy.xml. The default value is “true”. Here’s a sample.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" | |
xmlns:psns="http://FunctionProcess.bpel"> | |
<process name="psns:FunctionProcess"> | |
<provide partnerLink="FunctionProcessPartnerLink">...</provide> | |
<invoke partnerLink="SquarePartnerLink" usePeer2Peer="false">...</invoke> | |
</process> | |
</deploy> |
No comments:
Post a Comment