|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
UserDefined Configurable service property |
« View previous topic :: View next topic » |
Author |
Message
|
kash3338 |
Posted: Wed May 29, 2013 12:46 am Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
chenna.hari wrote: |
any suggestions how to get the UserDefined Configurable Service propery in the message flow? |
This is a link I had for a long time which talks about UserDefined Configurable service (version 6.1 though and I am sure there should be a much latest document available somewhere). A small example of EMail Output node is taken in this case. You can get an idea about the usage in message flows.
As for overriding or changing the values of the UserDefined service, you should go with Java as mentioned by Esa. |
|
Back to top |
|
 |
Esa |
Posted: Wed May 29, 2013 1:25 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
kash3338 wrote: |
chenna.hari wrote: |
any suggestions how to get the UserDefined Configurable Service propery in the message flow? |
As for overriding or changing the values of the UserDefined service, you should go with Java as mentioned by Esa. |
kash3338, as you yourself pointed out, User Defined Configurable Services came with V. 7.0.0.1, so your link to a V 6.1 article does not apply.
You need to use java Message Broker API for accessing the configurable service, getting the values and using them for your user defined purposes your user defined way.
Overriding and changing user defined configurable services from withing a message flow sounds like a very bad idea,
although there seems to be no way to prevent it so long IBM doesn't provide and easy and safe way of just gettting the values.
Like an ESQL function or a JCN method. But this problem applies to all types of configurable services and is more and more actual now
when in V 8 you don't need to restart the execution group any more to make the changes effective.
Maybe the idea of a really self-governing flow is already propelling in somebody's head as we speak... |
|
Back to top |
|
 |
kash3338 |
Posted: Wed May 29, 2013 2:42 am Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
Esa wrote: |
kash3338, as you yourself pointed out, User Defined Configurable Services came with V. 7.0.0.1, so your link to a V 6.1 article does not apply. |
My bad!! Sorry for that. That link points to use of Configurable Services (which were present in v6.1) and not of UserDefined Configurable services. I could not get any documents on the real usage of UserDefined Configurable services. If someone could point one, it would be great! |
|
Back to top |
|
 |
chenna.hari |
Posted: Wed May 29, 2013 11:56 pm Post subject: |
|
|
Centurion
Joined: 21 Mar 2009 Posts: 103
|
1. Create UserDefined Configurable Service property, write the java program to get UserDefined Configurable Service property and call that java program from ESQL,
2. Define the User Defined Property at Message Flow and use that property in the message flow esql. whenever the property value need to be changed, override the bar file and redeploy.
which one is better, any suggestions.
one question, if UserDefined configurable service property value need to be changed, do we need to restart the message flows which calls the Java program? |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|