Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with Oracle Advance Queues #52

Open
sposnjak-cpot opened this issue Mar 11, 2022 · 4 comments
Open

Working with Oracle Advance Queues #52

sposnjak-cpot opened this issue Mar 11, 2022 · 4 comments

Comments

@sposnjak-cpot
Copy link

I am looking to hook up the my rust app to oracle database and we use AQ for communication. I can see in the bindings that there are functions for enq/deq and also for subscriptions, but can not find any examples on how to use them or any rust struct in form of a Queue.

Is this not (yet) supported or am I missing something?

@kubo
Copy link
Owner

kubo commented Mar 11, 2022

It has not been supported yet.
I tried it about three years ago and reported oracle/odpi#104. I have not restarted it yet.

@kubo
Copy link
Owner

kubo commented Mar 14, 2022

I added experimental advanced queuing support. See https://www.jiubao.org/rust-oracle/oracle/aq/index.html.
It is available when aq_unstable feature is enabled. It is unstable for the time being.

Add the following dependency in Cargo.toml:

[dependencies]
oracle = { git = "https://github.com/kubo/rust-oracle", features = ["aq_unstable"] }

@cjbj
Copy link

cjbj commented Mar 14, 2022

@kubo just a FYI that our AQ development team are finalizing a small ODPI-C enhancement to support AQ recipient lists, which is an option for AQ messaging.

@sposnjak-cpot
Copy link
Author

Wow! This was quick! I will try it as soon as possible to see if it meets our requirements.

Thank you all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants