Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle Service Bus 11g Development Cookbook

You're reading from   Oracle Service Bus 11g Development Cookbook

Arrow left icon
Product type Paperback
Published in Jan 2012
Publisher Packt
ISBN-13 9781849684446
Length 522 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Oracle Service Bus 11g Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Creating a basic OSB service 2. Working Efficiently with OSB Artifacts in Eclipse OEPE FREE CHAPTER 3. Messaging with JMS Transport 4. Using EJB and JEJB transport 5. Using HTTP Transport 6. Using File and Email Transports 7. Communicating with the Database 8. Communicating with SOA Suite 9. Communication, Flow Control, and Message Processing 10. Reliable Communication with the OSB 11. Handling Message-level Security Requirements 12. Handling Transport-level Security Requirements Index

Using the AQ adapter to send messages to the database


In this recipe, we will configure an outbound AQ adapter, so that it can be used to publish messages from the Oracle Service Bus to an Oracle AQ queue on the database:

The AQ database queue CUSTOMER_QUEUE, which we will use has been set up with the OSB Cookbook standard environment using the following SQL and PL/SQL code:

BEGIN
  sys.dbms_aqadm.create_queue_table(
                queue_table => 'CUSTOMER_QUEUE_T',
                queue_payload_type => 'SYS.XMLTYPE',
                storage_clause => 'PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255',
                sort_list => 'ENQ_TIME',
                compatible => '8.1.3');
END;
/

BEGIN
  sys.dbms_aqadm.create_queue(
                queue_name => 'CUSTOMER_QUEUE',
                queue_table => 'CUSTOMER_QUEUE_T',
                queue_type => sys.dbms_aqadm.normal_queue,
                max_retries => 5,
                retry_delay => 0);
  sys.dbms_aqadm...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime