This content has been marked as final.
Show 1 reply
-
1. Re: pollEnrich and switchyard JPA binding
kcbabo Aug 7, 2014 2:05 PM (in response to aymanyaq)I assume this has something to do with switchyard endpoints not being compatible with pollEnrich, but it will take a bit of debugging to see what the actual disconnect is here. A quick guess is that a consumer is being created for the switchyard endpoint and the underlying jpa endpoint (specified via reference binding) is never being triggered. My suggestion would be to code up a basic example with pollEnrich using a file binding for the switchyard endpoint and share it. Setting a timeout for the pollEnrich will eliminate the hang and should return null if no message is received (which should be the case based on what you reported).