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 IndexWebSphere Message Broker SupportDiff DB Connections From Within Broker Workflow

Post new topicReply to topic
Diff DB Connections From Within Broker Workflow View previous topic :: View next topic
Author Message
EricL
PostPosted: Thu Mar 22, 2018 12:50 pm Post subject: Diff DB Connections From Within Broker Workflow Reply with quote

Voyager

Joined: 10 Oct 2014
Posts: 82

Hi,

I have workflows accessing DB, DB connection created through following steps:

1. Define a datasource stanza in odbc.ini, say [ABC]
2. Set the new datasource stanza into broker by issuing command:
mqsisetdbparms Brokr -n ABC -u abc -p xyz
3. Create a Database node, and specify Data source name: ABC for the node.

This method is working perfectly for workflows.

There is another way of accessing db from workflow by creating a configuration service:

mqsicreateconfigurableservice Brkr -c SecurityProfiles -o ABC -n XYZ .....

and then invoked the service within workflow (not sure how exactly it is done, as I'm not the developer...)

Question now are:

1. What's the difference of these 2 methods in terms of performance etc?
2. What's the reason behind of "mqsicreateconfigurableservice" method to access db?

Thanks ....
Eric
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 23, 2018 4:41 am Post subject: Re: Diff DB Connections From Within Broker Workflow Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25173
Location: Ohio, USA

EricL wrote:
1. What's the difference of these 2 methods in terms of performance etc?


Nothing. 2 ways of accessing the same db driver.

EricL wrote:
2. What's the reason behind of "mqsicreateconfigurableservice" method to access db?


On a lot of platforms, changing odbc.ini requires a broker restart to be effective because of the way the platform handles database connections. Moving it to a configurable service removes this restriction, and this is why they were introduced in IIBv8 (v9? One of those).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
EricL
PostPosted: Fri Mar 23, 2018 12:38 pm Post subject: Reply with quote

Voyager

Joined: 10 Oct 2014
Posts: 82

Thanks Grand, the answers are great.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportDiff DB Connections From Within Broker Workflow
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.