Maciavelli
Maciavelli

Reputation: 101

how to pollenrich from camel processor

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

Answers (1)

Claus Ibsen
Claus Ibsen

Reputation: 56082

Yes you can use ConsumerTemplate to poll from endpoints: http://camel.apache.org/polling-consumer.html

Upvotes: 1

Related Questions