This content has been marked as final. Show 4 replies
see : http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_async.htm
but invoking an asynch process from a sync process isn't really a best practice/pattern to implement
think of the next situation
your client calls the sync service and the sync thread will maybe time out after 1 minute.
in your sync service you call a async service which maybe can come back after a day with answer (extrem situation), so those two won't fit
you could add a timeout on your invoke of the async service, but in that case you may decide it it's the best way to model your process and let it timeout/kill the invoke
It would be better if you can elaborate your use case.You can try these also.
Asynchronous Interactions with a Timeout:
Asynchronous Interactions with a Notification Timer