|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Need to check condition only-once until EG restart |
« View previous topic :: View next topic » |
Author |
Message
|
djosyula |
Posted: Mon May 08, 2017 3:02 am Post subject: Need to check condition only-once until EG restart |
|
|
Newbie
Joined: 30 Mar 2017 Posts: 9
|
Hi Experts,
I'll get several inputs from source and I might get inputs in different times but for the first input only I have to get details(user name ,pwd) from database remaining times no need ,is there any way in ESQL ,please help me on this .Thanks advance  |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 08, 2017 4:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
If you only need to get the credentials once, then you must be storing them somewhere for use on the 2nd and subsequent uses.
Ergo, check to see if where they're stored is empty. If it is, read them from the database.
The inbuilt global cache (with it's OOTB time to live) is ideal for this purpose. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|