Stream AQ samples

I need to do a quick test to verify the AQ setup between two

I've been looking for a simple sample of code which does the below, but not
found one:

1.  Create the necessary users with the appropriate privileges between 2
2.  Create the queues and grants.  This is for single subscriber scenario.
3.  Create the enqueue on the first instance.
4.  Dequeue on the second instance.

If you have your code, that is fine too.

Thanks for the help.


Other related posts: