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 » Oracle resultset passing Message Broker

Post new topic  Reply to topic
 Oracle resultset passing Message Broker « View previous topic :: View next topic » 
Author Message
szab
PostPosted: Thu Apr 16, 2009 7:18 am    Post subject: Oracle resultset passing Message Broker Reply with quote

Novice

Joined: 01 May 2008
Posts: 14

Hi!

I haven' t found anything similar to this problem in the topics, so the problem is..
the Request part:
I have a flow that calls an Oracle(10g) stored procedure, which inserts some values of the incoming XML file into the DB...
the Reply part:
Is it possible to send to the Broker a result set, that is generated from an other ORACLE procedure, which is called from an update trigger?
So, can the ORACLE procedure call a message flow somehow?
I've been thinking if the next theory of mine could be work:
Oracle calls a JAVA stored procedure( java file is in a messagflow project ) -> the JAVA file contains some MQ functions so, that it can create a simple message, which can be put to a queue -> and a message flow which starts with an MQget node ....
Any other ideas how to pass a resultset to a Broker?

szab
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 16, 2009 7:25 am    Post subject: Re: Oracle resultset passing Message Broker Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

szab wrote:
So, can the ORACLE procedure call a message flow somehow?


You don't call a message flow. You put data in one end.

If your flow calls a stored procedure, why isn't the result set returned to the flow as a parameter?

szab wrote:
which can be put to a queue -> and a message flow which starts with an MQget node ....


You of course mean an MQInput node.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bhumulas
PostPosted: Thu Apr 16, 2009 9:09 am    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2006
Posts: 41

SET Environment.Variables.Result[] = PASSTHRU ('CALL SP(in1, in2)');
Back to top
View user's profile Send private message
szab
PostPosted: Thu Apr 16, 2009 10:18 am    Post subject: Reply with quote

Novice

Joined: 01 May 2008
Posts: 14

Actually, after inserting the data into the db, another application updates/writes some of these rows( don't know what time) , that's why i'm using a trigger for that action, and i want the updated rows to be sent back to the broker...
Thus i can't have it all in one message flow( i think... )
I hope it's clear enough now...
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 » Oracle resultset passing Message Broker
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.