cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Adapter poll interval and number of messages processed in each poll

Former Member
0 Kudos

Hi,

   We have a requirement such that the JMS sender channel picks only one message from the IBM MQ during each poll and there is a delay of X secs betwwen two consecuritve polls.

   Are there any parameters which can be configured in the JMS sender channel to achieve this.

Thanks

Rajeev Gupta

Accepted Solutions (0)

Answers (2)

Answers (2)

Harish
Active Contributor
0 Kudos

Hi Rajeev,

AFAIK - you can not achieve this in PI but it can be done in JMS. when message/data is transferred from one queue to another queue you can add the pearl script to introduce delay in message transfer.

regards,

Harish

Former Member
0 Kudos

Hello,

>>JMS sender channel picks only one message from the IBM MQ during each poll and there is a delay of X secs betwwen two consecuritve polls

I think u can't control JMS sender channel because it uses pull based mechanism.

So what u can do is, u can switch JMS sender from pull to push method (select "message listener based connector") and ask ur JMS sever to send one message at a time with a delay.

Thanks

Amit Srivastava