[jboss-svn-commits] JBL Code SVN: r22734 - in labs/jbossesb/branches/JBESB_4_4_GA_CP/product: samples/quickstarts/helloworld_action/oracle-aq and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sat Sep 13 11:52:57 EDT 2008
Author: mark.little at jboss.com
Date: 2008-09-13 11:52:57 -0400 (Sat, 13 Sep 2008)
New Revision: 22734
Modified:
labs/jbossesb/branches/JBESB_4_4_GA_CP/product/lib/ext/jms/oracleaq/readme.txt
labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_action/oracle-aq/readme.txt
Log:
https://jira.jboss.org/jira/browse/JBESB-1952
Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/lib/ext/jms/oracleaq/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/lib/ext/jms/oracleaq/readme.txt 2008-09-13 15:52:27 UTC (rev 22733)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/lib/ext/jms/oracleaq/readme.txt 2008-09-13 15:52:57 UTC (rev 22734)
@@ -8,9 +8,10 @@
From lib/ext obtain
asm.jar
-cglib-2.1_2jboss.jar
mockejb.jar
+From maven obtain cglib-2.1_2jboss.jar (maven)
+
In plugins/org.jboss.soa.esb.oracle.aq run the package target and obtain
org.jboss.soa.esb.oracle.aq.<version>.jar.
@@ -35,10 +36,7 @@
2. Oracle AQ does not have a JNDI provider and it is common to register
Queues in an LDAP. Here we chose to register the Queues to MockContext
which is why you need the mockejb.jar, as well as the asm and cglib jars
- that it depends on. The org.jboss.soa.esb.oracle.aq-4.2.MR2.jar plugin
+ that it depends on. The org.jboss.soa.esb.oracle.aq.<version>.jar plugin
does the actual work of registering. Registering to JNP proved not
possible because of code in the Oracle API to support option 1, the LDAP
registration.
-
-
-
Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_action/oracle-aq/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_action/oracle-aq/readme.txt 2008-09-13 15:52:27 UTC (rev 22733)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_action/oracle-aq/readme.txt 2008-09-13 15:52:57 UTC (rev 22734)
@@ -4,22 +4,22 @@
ACTION_REQUEST, B and HELLO_WORLD_ACTION, make sure to set
the payload type to Object: SYS, AQ$_JMS_MESSAGE.
-2. Edit the jndi.properties file to reflect your database connection settings
+2. Edit the jboss-esb.xml file to reflect your database connection settings
3. Copy the jndi.properties and the jboss-esb.xml in the helloworld_action directory.
-4. From the lib/ext/jms/oracleaq directory copy the following jars in to the
+4. Follow the instructions in the readme.txt within lib/ext/jms/oracleaq and place the following jars in the
helloworld_action/lib directory
- 26747 Mar 18 18:16 asm.jar
- 286330 Mar 18 18:16 cglib-2.1_2jboss.jar
- 120342 Aug 4 2006 mockejb.jar
- 8757 Apr 4 14:13 org.jboss.soa.esb.oracle.aq-4.2.MR2.jar
+ asm.jar
+ cglib-2.1_2jboss.jar
+ mockejb.jar
+ org.jboss.soa.esb.oracle.aq.<version>.jar
and obtain the following jars from your Oracle DB install:
- 772466 Mar 27 11:14 aqapi13.jar (from oracle)
-1397543 Mar 27 11:13 ojdbc14.jar (from oracle)
+ aqapi13.jar (from oracle)
+ ojdbc14.jar (from oracle)
Note that
@@ -28,7 +28,16 @@
2. Oracle AQ does not have a JNDI provider and it is common to register
Queues in an LDAP. Here we chose to register the Queues to MockContext
which is why you need the mockejb.jar, as well as the asm and cglib jars
- that it depends on. The org.jboss.soa.esb.oracle.aq-4.2.MR2.jar plugin
+ that it depends on. The org.jboss.soa.esb.oracle.aq.<version>.MR2.jar plugin
does the actual work of registering. Registering to JNP proved not
possible because of code in the Oracle API to support option 1, the LDAP
- registration.
\ No newline at end of file
+ registration.
+
+
+The following can be used to create the queue table, create the queue, and enable the queue:
+
+exec dbms_aqadm.CREATE_queue_table(queue_table => 'myqueue_table_name', multiple_consumers => FALSE, queue_payload_type => 'SYS.AQ$_JMS_MESSAGE');
+
+exec dbms_aqadm.CREATE_queue(queue_name => 'myqueue_name', queue_table => 'myqueue_table_name');
+
+exec dbms_aqadm.start_queue( queue_name =>'myqueue_name' ,enqueue => true ,dequeue => true );
\ No newline at end of file
More information about the jboss-svn-commits
mailing list