-
1. Re: JBoss7 OracleAQ resource adapter
jesper.pedersen Aug 10, 2012 7:56 AM (in response to jolmoss)Looks as most of it is the generic JMS adapter - http://genericjmsra.java.net/ - licensed under ASL 2.0, and JBoss libraries, mostly licensed under LGPL.
I wouldn't even touch that example; just start from the generic JMS adapter and go from there. You can use the http://docs.jboss.org/ironjacamar/userguide/1.1/en-US/html/tools.html#tools_rarinfo tool from the IronJacamar 1.1.0.Beta1 distribution in order to get started with the resource adapter.
-
2. Re: JBoss7 OracleAQ resource adapter
jbertram Aug 10, 2012 11:20 AM (in response to jolmoss)Why not petition Oracle to create a legitimate RA for AQ?
As Jesper mentioned you could probably work with Sun's generic JMS JCA RA and adapt it appropriately. I would also encourage you to take a look at this bit of code from JBoss ESB which takes Oracle AQ artifacts and binds them into JNDI in an agnostic way so that normal JMS clients can use them. You could probably use this code in conjunction with an unmodified version of Sun's generic JMS JCA RA and come out with a working solution.
-
3. Re: JBoss7 OracleAQ resource adapter
jesper.pedersen Aug 10, 2012 11:28 AM (in response to jbertram)Yeah, if a vendor isn't interested in shipping a certified resource adapter for their product - switch to a vendor that does care.
-
4. Re: JBoss7 OracleAQ resource adapter
rkbplg Aug 31, 2012 1:57 AM (in response to jbertram)Hi Justin,
The problem with JBoss AS7 is that the contexts are always read only. I tried the way you suggested but JBoss 7 complains when we say context.rebind. This is the info I got from net:
Starting from JBoss AS7, the JNDI subsystem should become fully service-oriented, meaning:
- Contexts are always read-only
- The NamingStore is populated solely by services
- When the last binding in a context is removed, the context is automatically removed
Let me know if there are any other suggestions.
-
5. Re: JBoss7 OracleAQ resource adapter
jbertram Sep 2, 2012 9:48 PM (in response to rkbplg)Why not just create a new subsystem that would act as a kind of "bridge" between the objects in Oracle and JNDI? For example, you could specify the names of the objects in Oracle that you wanted to bind into JBoss AS JNDI. This would be similar to the org.jboss.soa.esb.oracle.aq.AQInitialContextFactory but suitable for use within AS7 given its constraints on JNDI.
-
6. Re: JBoss7 OracleAQ resource adapter
dzcs Oct 4, 2012 12:11 PM (in response to jbertram)As I have seen in hornetq documentation it supports bridging. But does anybody already used it with Oracle AQ?
-
7. Re: JBoss7 OracleAQ resource adapter
pmm Oct 5, 2012 6:09 AM (in response to rkbplg)Ravi Batra schrieb:
Starting from JBoss AS7, the JNDI subsystem should become fully service-oriented, meaning:
- Contexts are always read-only
…
Contexts are writable during deployment.