ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can an Oracle DB trigger put a message on an MQ queue?

Post new topic  Reply to topic
 Can an Oracle DB trigger put a message on an MQ queue? « View previous topic :: View next topic » 
Author Message
marko
PostPosted: Mon Oct 21, 2002 8:25 am    Post subject: Can an Oracle DB trigger put a message on an MQ queue? Reply with quote

Apprentice

Joined: 28 Feb 2002
Posts: 27

I would like to have an Oracle trigger put a message on a queue to kick off a flow. Is there any free Oracle package to do this?

We are using Oracle 8.1.7 on HPUX.

Thanks.
.
Back to top
View user's profile Send private message
marko
PostPosted: Tue Oct 22, 2002 5:40 am    Post subject: Reply with quote

Apprentice

Joined: 28 Feb 2002
Posts: 27

I just noticed this support pac.

http://www-3.ibm.com/software/ts/mqseries/txppacs/ma0i.html
Back to top
View user's profile Send private message
tchagan
PostPosted: Tue Oct 22, 2002 6:27 am    Post subject: Reply with quote

Apprentice

Joined: 10 Feb 2002
Posts: 31

Hi,

we currently use oracle AQ and the Oracle Message Broker to interface between Oracle and MQ, there is a little bit of setting up to do with the OMB and some scripts to write but this is the preferred solution to interfacing between Oracle and MQ. You basically use the trigger to put a message onto an AQ queue, the OMB polls this queue and when a message is received the OMB will transfer the message to MQ.

Terry
Back to top
View user's profile Send private message
marko
PostPosted: Tue Oct 22, 2002 11:35 am    Post subject: Reply with quote

Apprentice

Joined: 28 Feb 2002
Posts: 27

Thanks Terry.

Is OMB free? Is there a separate process to maintain with OMB?

I also wanted to avoid polling. I'm currently polling Oracle, and when there are records in a particular state I'm adding them into an input queue. I would prefer to use an Oracle trigger to put messages directly into the input queue to avoid the polling latency.
Back to top
View user's profile Send private message
tchagan
PostPosted: Wed Oct 23, 2002 1:10 am    Post subject: Reply with quote

Apprentice

Joined: 10 Feb 2002
Posts: 31

Hi,

I believe that OMB comes with Oracle8i and onwards.

In the scenario I describe the polling is necessary and is the standard way for Oracle to add messages to an mq input queue. However in Oracle8i you can call java classes so potentially you could use the mq java API called from a trigger to put messages on a queue though I haven't tried this.

hope this helps

Terry
Back to top
View user's profile Send private message
marko
PostPosted: Wed Oct 23, 2002 9:00 am    Post subject: Reply with quote

Apprentice

Joined: 28 Feb 2002
Posts: 27

Thanks for the tips. I will also check into using Java.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can an Oracle DB trigger put a message on an MQ queue?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.