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 » Multiple DataSource in a single Compute Node

Post new topic  Reply to topic
 Multiple DataSource in a single Compute Node « View previous topic :: View next topic » 
Author Message
Bichu
PostPosted: Fri May 12, 2017 6:46 am    Post subject: Multiple DataSource in a single Compute Node Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

HI Guys,

Can we have a single compute node configured with multiple data source names. In my requirement, I will identify the input message and based on that , I need to query the db. The query remains same but database server changes. Is there anyway to accomplish this in a single compute node?

I have 3 different DB's for this residing in 3 different servers. ALl are of type Oracle.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri May 12, 2017 7:24 am    Post subject: Reply with quote

Grand High Poobah

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

Yes.

This question has been asked and answered before.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
missing_link
PostPosted: Fri May 12, 2017 7:26 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jan 2004
Posts: 59

The docs for SELECT function state:

[quote]FROM clause FieldReferences can contain expressions of any kind (for example, Database.{DataSource}.{Schema}.Table1).

You can calculate a field, data source, schema, or table name at run time.[/quote]

So I assume that you evaluate and set the Datasource as appropriate at runtime in your ESQL.
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 » Multiple DataSource in a single Compute Node
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.