Author |
Message
|
smdavies99 |
Posted: Thu Jul 25, 2013 1:11 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The values you are seeing are the ones declared in thre ESQL namely ''.
A broker restart is just that. All temporary stuff is gone and that includes shared variables.
you have to re-init them yourself. The old values are not kept over a restart. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Sosed |
Posted: Thu Jul 25, 2013 1:49 am Post subject: |
|
|
Apprentice
Joined: 24 Aug 2012 Posts: 43
|
Hi, smdavies99, Thanks for your reply!
smdavies99 wrote: |
The values you are seeing are the ones declared in thre ESQL namely ''.
A broker restart is just that. All temporary stuff is gone and that includes shared variables.
you have to re-init them yourself. The old values are not kept over a restart. |
I have found, that UDPs has the same value (via MB Explorer). So, the problem is in variables in ESQL.
Does it mean that I must redeploy application every time broker stops?
Is there another way to re-init them? |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Jul 25, 2013 1:53 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Sosed wrote: |
Does it mean that I must redeploy application every time broker stops?
Is there another way to re-init them? |
I knew that there was a reason that I didn't use UDP's.
I'll let some who knows more about them to answer about init etc _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Sosed |
Posted: Thu Jul 25, 2013 2:31 am Post subject: |
|
|
Apprentice
Joined: 24 Aug 2012 Posts: 43
|
smdavies99 wrote: |
Sosed wrote: |
Does it mean that I must redeploy application every time broker stops?
Is there another way to re-init them? |
I knew that there was a reason that I didn't use UDP's.
I'll let some who knows more about them to answer about init etc |
Thanks for your help, smdavies99.
I have found similar topic.
It doesn't seem like default behavior It would be more predictable if broker re-init external variables by himself after start.
Does such variables loose their values at previous versions of broker? |
|
Back to top |
|
 |
dogorsy |
Posted: Thu Jul 25, 2013 4:58 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
External variables can have 3 defaults:
1st : one specified in the bar file overrides
2nd: the value specified in the message flow UDP
3rd: the value in the default clause of the declare statement
and the defaults are in that order, meaning that if you do not specify anything in the bar file overrides, then the value in the message flow UDP will be used ( if any ), and then the specified in the declare statement.
The default should be preserved upon broker restarts.
you can read more in the infocenter if you search for user defined properties. |
|
Back to top |
|
 |
|