09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Message Transformation with JMS AQ<br />

Examples of such errors are when the remote queue/topic does not exist or when<br />

there is a type mismatch between the source queue/topic and the remote<br />

queue/topic.In such situations users must query the DBA_SCHEDULES view to<br />

determine the last error that occurred during propagation to a particular<br />

destination.The trace files in the $ORACLE_HOME/log directory can provide<br />

additional information about the error.<br />

Message Transformation with JMS AQ<br />

The following topics are discussed in this section:<br />

Defining Message Transformations<br />

Sending Messages to a Destination Using a Transformation<br />

Receiving Messages from a Destination Using a Transformation<br />

Specifying Transformations for Topic Subscribers<br />

Specifying Transformations for Remote Subscribers<br />

Defining Message Transformations<br />

Transformations can be defined to map messages of one format to another.<br />

Transformations are useful when applications that use different formats to<br />

represent the same information have to be integrated. Transformations can be SQL<br />

expressions and PLSQL functions.<br />

The transformations can be created using the DBMS_TRANSFORM.create_<br />

transformation procedure. Transformation can be specified for the following<br />

operations:<br />

Sending a message to a queue or topic<br />

Receiving a message from a queue, or topic<br />

Creating a Topic Subscriber<br />

Creating a Remote Subscriber. This will enable propagation of messages<br />

<br />

between Topics of different formats.<br />

The Message Transformation feature is an AQ extension to the standard JMS<br />

interface.<br />

Creating Applications Using JMS 12-93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!