문제

I need to support an operation both via SOAP and file dropping on a folder. Most of the logic will be he same. Is it possible to trigger the same flow with two message sources? I cant seem to find a way. Thanks

도움이 되었습니까?

해결책

Use a composite message source:

<composite-source>
  <file:inbound-endpoint ... />
  <http:inbound-endpoint ... />
</composite-source>

If you use CXF, you'll have to stick the service element inside the HTTP inbound endpoint.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top