cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Queuing - Action Blocks (Queue Get, Queue Put , Queue List, Queue Delete)

0 Likes
586

Does any one know how to use Queue Get, Queue Put, Queue List, Queue Delete

action blocks?

There is neither any help documentation nor any previous queries in the forum for this.

Thanks and Regards

Khaleel Badeghar

View Entire Topic
Former Member
0 Likes

Hi Khaleelurrehman,

1. Put something in your Queue:

Name: MyQueue

ID: 4711

Example:

- Make a ForNextLoop and use the Link Editor to fill the Queue with 10 entries.

- Use a Local XML Variable as Message and a Assignment to set the

Message text. So your Message will be:

"a Message with the ID " & For_Next_Loop_0.CurrentItem

- Put the Message and the ID in your Queue using the Link Editor

ID: 4700 + For_Next_Loop_0.CurrentItem

2. Replace something in your Queue:

Just refere to Queue-Name and Queue-ID to replace a Message with the

Queue-Put-Action.

3. Get one entry of your Queue:

Just refere to Queue-Name and Queue-ID to get the Message out of the Queue

with the Queue-Get-Action.

4. Get a List of entries from your Queue:

- Use the Queue-List-Action which will return a xMII-XML Structure with

DATE and ID.

- Use a Repeater to loop over the Output of Queue-List-Action.

- Use a Queue-Get-Action and assign the ID of the Repeater-Output to get the

Message for the ID.

5. Delete one Message in your Queue:

Use the Queue-Delete-Action to delete a Message with a specific ID from

your Queue.

6. Delete the whole Queue (or all Messages)

Use Queue-List-Action + Repeater to loop + Queue-Delete-Action

Hope this helps.

Ciao

Martin

jcgood25
Active Contributor
0 Likes

So much for trial and error...

Former Member
0 Likes

Former Member
0 Likes

Try and Error is no fun when it's not obvious. I was trying to use it completly different and was getting useless data...