1
votes

I have set up an ActiveMQ in Mule and I would like to set a polling interval. I cannot see how one such is set. I guess it is some small setting, but i cant see it.

1
There is a pollingFrequency property for JMS connectors, but I seem to recall it's available only in the enterprise version of Mule (I might be wrong, so do followup on that).Anders R. Bystrup
That is true (mulesoft.org/documentation-3.2/display/32X/…). However, we are using ActiveMQ. And we are using the Mule ESB Community edition. Isn't there a setting in ActiveMQ itself?Stanislav Ivanov
Polling is only used with JMS endpoint if you're consuming events in a transactional fashion. So, are your ActiveMQ inbound endpoints transacted or not?David Dossot

1 Answers

0
votes

Consuming messages is not like polling files from a folder or rows from a database. You typically listen to a queue and get a message as soon as it's there - event driven.

If you use some transacted setup, Mule will restart the listening period/transaction with some frequency - but it will still be event driven, not polling