Re: Having issues with Multicast to Aggregation ...
Sorry for the long delay, I got pulled onto another problem and am just getting back to this issue. @Jakub, The problem I'm encountering is upon aggregation, the file aggregation either times out or is stuck in a wait pattern until all multiplex routes have completed. I can see in the logs where several of the routes complete, but a single route just hangs. Trying to perform a shutdown of ActiveMQ I get the message waiting for shutdown for 300 seconds. I'm assuming the this is due to my route waiting for a response. I ended up going the brute force method of calling all the SQL components in one route, and a route to zip up the generated files. I was hoping to take advantage the power of camel, but wasn't in the cards for this time around. Another issue arose, was that upgrading camel versions in our environment meant for more regression testing. Something I couldn't get buy-in from the users. - Josh Toepfer -- View this message in context: http://camel.465427.n5.nabble.com/Having-issues-with-Multicast-to-Aggregation-tp5774688p5775194.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Having issues with Multicast to Aggregation ...
Can you post up your code? It's hard to tell from the limited information that you have provided. Jakub On 11/12/15 13:43, jtoepfer wrote: I'm not sure if this is the same problem, but it only works once. The second time the process is kicked off the zip aggregation never finishes. The system logs the same messages, but the process never finishes. Any thoughts?
Re: Having issues with Multicast to Aggregation ...
Ok. I found where to add the routeEmptyResultSet, which since i'm using injected SQL I had to append it to the sql in the properties file. select * from dual?consumer.routeEmptyResultSet=true but this does not work This fixed my problem of the zip aggregation working. I'm not sure if this is the same problem, but it only works once. The second time the process is kicked off the zip aggregation never finishes. The system logs the same messages, but the process never finishes. Any thoughts? - Josh Toepfer -- View this message in context: http://camel.465427.n5.nabble.com/Having-issues-with-Multicast-to-Aggregation-tp5774688p5774998.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Having issues with Multicast to Aggregation ...
You can check unit tests they often test the various options. On Wed, Dec 9, 2015 at 2:17 PM, jtoepfer wrote: > So after digging into the documentation for the last 2 days. There is a > parameter called routeEmptyResultSet, and it's set to false. This could be > the problem, but I'm not aware to set this? Looking at the code doesn't > seem really obvious. Some direction would be helpful if i'm on the right > track. > > > > - > Josh Toepfer > -- > View this message in context: > http://camel.465427.n5.nabble.com/Having-issues-with-Multicast-to-Aggregation-tp5774688p5774860.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Re: Having issues with Multicast to Aggregation ...
So after digging into the documentation for the last 2 days. There is a parameter called routeEmptyResultSet, and it's set to false. This could be the problem, but I'm not aware to set this? Looking at the code doesn't seem really obvious. Some direction would be helpful if i'm on the right track. - Josh Toepfer -- View this message in context: http://camel.465427.n5.nabble.com/Having-issues-with-Multicast-to-Aggregation-tp5774688p5774860.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Having issues with Multicast to Aggregation ...
So I've tried a couple things, include adding a timeout, but that did not seem to work. Anyone have any other suggestions? - Josh Toepfer -- View this message in context: http://camel.465427.n5.nabble.com/Having-issues-with-Multicast-to-Aggregation-tp5774688p5774823.html Sent from the Camel - Users mailing list archive at Nabble.com.