cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduling asynchronous messages for a delayed send

Former Member
0 Kudos

The scenario I have is an outbound asynchronous interface being called from SAP via proxy. I need to be able to delay sending these messages, and I would prefer not to have to write a queue in abap to delay the sending of the messages. Is there a setting I can make for a queue, or a way to set the message to be delivered delayed for specific amount of time, or to be delivered at a specific time when making the proxy call?

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Hi Ron,

You could have 2 different options:

1. Use ccBPM.

2. Use UDF to introduce delay:

Regards,

Nabendu.

Former Member
0 Kudos

I was not aware that ccBPM supported this. I am aware of it, but I am not familiar with developing in it. We are trying to be on a single stack, so the ccBPM solution would be an issue. I did think of the UDF idea, since this would we easy, but I am concerned about holding a thread. if I used EOIO this would resolve the thread issue. I would have to do a set of EOIO queues manually to get throughput, but not hold threads.

Thanks for the information.

nabendu_sen
Active Contributor
0 Kudos

Hi Ron,

If you want to opt EOIO for single stack, check:

As you know, all the messages would get stuck for a single error or failure in EOIO communication. You may want to check:

Regards,

Nabendu.

Former Member
0 Kudos

I am going to reevaluate options when we move to 7.4 next year.

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Ron,

You can develop an UDF and to use the java instruction Thread.sleep, check this thread

Regards.