Is Message-Size Aware Oracle AQ Adapter Features

7-10 Oracle Fusion Middleware Users Guide for Technology Adapters processing. If jca.retry.count is specified with a value of 5 or less, then you do not have to change the queue max_retries property. Use the following code to change the max_retries property when creating a queue: begin DBMS_AQADM.CREATE_QUEUE_TABLE queue_table = RAW_IN_QUEUE_TABLE,queue_payload_ type = RAW; DBMS_AQADM.CREATE_QUEUE queue_name = RAW_IN_QUEUE,queue_table= RAW_IN_ QUEUE_TABLE, max_retries=1500; DBMS_AQADM.START_QUEUE queue_name = RAW_IN_QUEUE; DBMS_AQADM.CREATE_QUEUE_TABLE queue_table = RAW_OUT_QUEUE_TABLE, queue_ payload_type = RAW; DBMS_AQADM.CREATE_QUEUE queue_name = RAW_OUT_QUEUE, queue_table = RAW_OUT_ QUEUE_TABLE; DBMS_AQADM.START_QUEUE queue_name = RAW_OUT_QUEUE; end;

7.2.13 Error Handling Support

For information about error handling, see Section 2.22, Error Handling.

7.2.14 Performance Tuning

Oracle AQ Adapter supports performance tuning features. For more information, see Oracle AQ Adapter Tuning in the Oracle Fusion Middleware Performance and Tuning Guide.

7.3 Deployment

The Oracle AQ Adapter comes deployed to the application server as part of the install. It contains a single adapter instance entry eisAQaqSample, which points to the data source jdbcaqSample. The data source is not created as part of install and must be created manually. The connection information to the database is inside the data source definition. When deploying a SOA project that uses the Oracle AQ Adapter instance eisAQaqSample that exists at the time of installation, you must first create a data source at jdbcaqSample. On the other hand, if a new adapter instance is preferred, then you must add a new adapter instance and restart the application server. This is because you want to point to a data source other than the one referred in already existing adapter instance jdbcaqSample, or because you chose a name for the adapter instance that does not yet exist. For instance, if you create a connection in JDeveloper named DBConnection1, then by default the AQ Adapter service points to eisAQDBConnection1, as shown in Figure 7–6 . You can also check which adapter instance the service is pointing to by looking at the .jca file, as shown in the following code snippet: connection-factory location=eisAQaqSample … In the preceding example, the location is the JNDI name of the adapter instance at run time. You can create a new AQ Adapter instance through the Oracle WebLogic Server Administration Console, as mentioned in Section 2.19, Adding an Adapter Connection Factory or by directly editing the weblogic-ra.xml file. The following are the steps to edit weblogic-ra.xml: