Reputation: 101
Is it possible to pollenrich from camel processor?
earlier I used camel enpoint:
.pollEnrich("smb://domain;login:pwd@host/dir?password=pwd&preMove=backup&move=processed&moveFailed=error&charset=UTF-8", 1000)
But now I need to call pollEnrich from processor.
Upvotes: 0
Views: 333
Reputation: 56082
Yes you can use ConsumerTemplate
to poll from endpoints: http://camel.apache.org/polling-consumer.html
Upvotes: 1