Ce contenu n'est pas disponible dans la langue sélectionnée.
A.9. Static Recipient List
Overview Copier lienLien copié sur presse-papiers!
Figure A.6. Static Recipient List Pattern
Example ServiceMix EIP route Copier lienLien copié sur presse-papiers!
test:messageFilter endpoint and to the test:trace4 endpoint.
Example A.16. ServiceMix EIP Static Recipient List
<eip:static-recipient-list service="test:recipients"
endpoint="endpoint">
<eip:recipients>
<eip:exchange-target service="test:messageFilter" />
<eip:exchange-target service="test:trace4" />
</eip:recipients>
</eip:static-recipient-list>
Equivalent Apache Camel XML route Copier lienLien copié sur presse-papiers!
Example A.17. Apache Camel Static Recipient List Using XML
<route>
<from uri="jbi:endpoint:http://progress.com/demos/test/recipients/endpoint"/>
<to uri="jbi:service:http://progress.com/demos/test/messageFilter"/>
<to uri="jbi:service:http://progress.com/demos/test/trace4"/>
</route>
Equivalent Apache Camel Java DSL route Copier lienLien copié sur presse-papiers!
Example A.18. Apache Camel Static Recipient List Using Java DSL
from("jbi:endpoint:http://progress.com/demos/test/recipients/endpoint").
to("jbi:service:http://progress.com/demos/test/messageFilter", "jbi:service:http://progress.com/demos/test/trace4");