camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sagy <sagyroz...@gmail.com>
Subject Polling consumer over a file
Date Wed, 09 Apr 2008 08:04:43 GMT

Hi,
I'm trying to poll a file using Endpoint.createPollingConsumer().
Unfortunately when I try to recieve from the polling consumer the Exchange I
get is null.
When I've tried using a jms queue instead of a file it was working fine.
Is it even possible to create a polling consumer over a file endpoint?
You can see my code  http://pastebin.com/m9d6d63f here .
The problem part is highlighted.

Thanks
Sagy


-- 
View this message in context: http://www.nabble.com/Polling-consumer-over-a-file-tp16581686s22882p16581686.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message