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 Index » WebSphere Message Broker (ACE) Support » Use of variables defined in another schema

Post new topic  Reply to topic
 Use of variables defined in another schema « View previous topic :: View next topic » 
Author Message
deepak_paul
PostPosted: Wed Jul 16, 2014 10:17 am    Post subject: Use of variables defined in another schema Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

All,


I am trying to initialize all ESQL variables/constants in a common broker schema and would like to access it from each application which have different broker schema.

BROKER SCHEMA com.company.esb.common
DECLARE ErrorMessage CHAR 'This is invalid data. Please resend data again.';

BROKER SCHEMA com.company.esb.app1

Message Broker: 8.0.0.4
Number of ESQL Constants ~ 100

Please let me know if there are any viable solutions. Thanks.
_________________
Regards
Paul
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Jul 16, 2014 12:52 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1638

The solution is to have a "get" method for each constant, and a "get" and "set" method for each variable.

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
deepak_paul
PostPosted: Mon Jul 21, 2014 1:24 pm    Post subject: Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

mgk wrote:
The solution is to have a "get" method for each constant, and a "get" and "set" method for each variable.

Kind regards,


Thanks Mgk. So there is no direct way to implement this?
_________________
Regards
Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Use of variables defined in another schema
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.