|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Promoted properties across broker schemas |
« View previous topic :: View next topic » |
Author |
Message
|
chrisc |
Posted: Sun Sep 16, 2007 9:20 pm Post subject: Promoted properties across broker schemas |
|
|
Voyager
Joined: 19 Mar 2006 Posts: 77
|
We have run into a little problem with a v5 broker solution we are building, and I was wondering if anyone had a solution / explanation...
We have one project which contains some common components that are reusable, and these components contain promoted properties (mainly around the data source and ESQL statement reference). These are in a schema, say com.company.common.
Another project actually uses the components and provides the actual ESQL for those promoted bits. This project has all the flows in a different schema, say com.company.
When in the toolkit, it is able to resolve these just fine, and clicking "Show ESQL" finds the procedure OK. However, when trying to add the flows to a BAR file it fails in all cases, saying it is unable to find the ESQL named xyz, i.e. the ESQL procedure for the promoted property.
I've discovered that it seems to be because they are in different schemas. I'm guessing that it is because the common component is actually the bit that uses the promoted code, and since that common component doesn't have a PATH statement for the flows that use the component, it can't resolve the reference. This seems like a reverse dependency to me, with the general needing to have a reference to the specific!
Anyone know if this is really the case, why it happens like this and whether there is a way around it? It doesn't seem right that you would be prevented from using promoted ESQL across schemas...?
Thanks,
Chris |
|
Back to top |
|
 |
chrisc |
Posted: Thu Sep 20, 2007 3:59 pm Post subject: |
|
|
Voyager
Joined: 19 Mar 2006 Posts: 77
|
Anybody? This is really messing with our nicely structured solution design!  |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 21, 2007 2:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looks to me like you are trying to use an OO feature where there is no OO (ESQL).
Maybe you should switch to a JCN for this...
The common interface makes the manipulation easy but the code executed will be the classe's own...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Sep 24, 2007 3:46 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
chrisc wrote: |
We have run into a little problem with a v5 broker solution we are building |
fjb_saper wrote: |
Maybe you should switch to a JCN for this...
|
 _________________ Cheers |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Sep 24, 2007 3:54 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
using across the schemas is not possible...
though i cant really comment on the exact reasoning of the same.... _________________ Cheers |
|
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
|
|
|
|