(rb);
>>
>>context.start();
>>template.setDefaultEndpointUri("sjms:queue:test-in");
>> template.sendBodyAndHeader("some body", "CamelFileName",
>> "someFileName");
>>Thread.sleep(1000);
>>
sages to aggregate
>>.forceCompletionOnStop()
>>.filter(header("CamelFileName").isNotNull())
>>.process(new Processor() {
>>@Override
>> public void process(Exchang
}
> };
> context.addRoutes(rb);
>
> context.start();
> template.setDefaultEndpointUri("sjms:queue:test-in");
> template.sendBodyAndHeader("some body", "CamelFileName",
> "someFileName");
> Thread.sleep(1000);
> context.stop();
> }
> }
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/SJMS-RejectedExecutionException-bug-during-shutdown-tp5798335.html
> Sent from the Camel Development mailing list archive at Nabble.com.
--
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
leep(1000);
context.stop();
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/SJMS-RejectedExecutionException-bug-during-shutdown-tp5798335.html
Sent from the Camel Development mailing list archive at Nabble.com.