question

Victor Alejandro HT avatar image
0 Likes"
Victor Alejandro HT asked Joerg Vogel edited

How to make that a queue send specific quantity to a sink?

Hello,

What i need is that every 2700 seconds my queue send 504 items to the sink. I think sending a message is the option, but I do not know how to set the proper parameters and conditions.

Thank you in advance.

Alejandro

Choose One
send itemsend tomessage paramrepeating item release
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Kari Payton avatar image
2 Likes"
Kari Payton answered Victor Alejandro HT commented

Use process flow to create a timer for the sink. Push the items to a global list when they enter the queue. At t = 2700 pull 504 items from that list and move them to the sink. Loop it to repeat at 2700 secs.

This is just one way to do it using process flow. lists.fsm @Victor Alejandro HT


lists.fsm (19.0 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Victor Alejandro HT avatar image Victor Alejandro HT commented ·

Thank you @Kari Payton it worked perfectly.

0 Likes 0 ·