IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Dynamic configuration JDBC Adapter

    Posted Thu April 28, 2011 10:26 PM

    Hi everyone :D:

    I have a problem :confused:, let me talk you about it:

    I have several servers, they have database DB2, they install the same databases but with diferent information of course.

    My idea is for example: if I have a variable called “host” is equal to “WHITE” then going to connect to server1, but if variable “host” is igual to “BLANK” then going to connect to server2.

    My idea is just do it with one JDBC Adapter, the reason is the number of servers will grow up, I don’t know exacty will be , so it’s easier to configure parameters
    server with webMethods Services than I create a new JDBC Adapter for each new server.

    Could you help me?, is there any service that modify the parameters’ JDBC Adapter?

    Thanks


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Dynamic configuration JDBC Adapter

    Posted Fri April 29, 2011 12:01 AM

    Based on the information provided what you’re attempting to do isn’t possible and isn’t advisable.

    Use 1 or more JDBC adapter connections for each DB server/cluster. Trying to use one connection pool for multiple DB servers is not a good approach. Instead, plan your connection definitions around your integrations, creating the number of connections that balance administration, outages, impact of failures, etc.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: Dynamic configuration JDBC Adapter

    Posted Fri April 29, 2011 02:35 AM

    Create one jdbc connection for each database (you dont have an option here)… At run time, you can pass the $connectionName by determining in the logic if you want to use DB1 or DB2…

    Senthil


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: Dynamic configuration JDBC Adapter

    Posted Fri April 29, 2011 05:20 PM

    Thanks for you helpful, I did your recomendation and it’s works !!


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB