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 » Behavior of components with common name in different Shared

Post new topic  Reply to topic
 Behavior of components with common name in different Shared « View previous topic :: View next topic » 
Author Message
wmbfrz
PostPosted: Mon Jul 11, 2016 1:29 am    Post subject: Behavior of components with common name in different Shared Reply with quote

Apprentice

Joined: 08 Jan 2010
Posts: 28

Hello,
Can anybody explain the runtime behavior of components with common name in different Shared Libraries? Lets say I have application A referring Shared library X deployed in an EG where another Shared Library Y is also deployed. Both X and Y have a subflow by the name mySubflow. Is it guaranteed that A will always work as per X.mySubflow in the runtime?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 11, 2016 4:15 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If they're both in shared libraries and in the same broker schema, you'll have a name clash... Names in the shared libraries should be unique.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
stoney
PostPosted: Mon Jul 11, 2016 4:37 am    Post subject: Reply with quote

Centurion

Joined: 03 Apr 2013
Posts: 140

Resources in shared libraries are always isolated and you cannot access a resource in a shared library without first referencing that shared library.
Application A will not be able to see the subflows in shared library Y unless you add a reference from application A to shared library Y.
If you try to reference both shared library X and shared library Y from application A, then you will get a deployment error.
This is because an application cannot reference two or more shared libraries with the same subflow in them.
Back to top
View user's profile Send private message
wmbfrz
PostPosted: Tue Jul 12, 2016 7:17 pm    Post subject: Reply with quote

Apprentice

Joined: 08 Jan 2010
Posts: 28

stoney wrote:
Resources in shared libraries are always isolated and you cannot access a resource in a shared library without first referencing that shared library.
Application A will not be able to see the subflows in shared library Y unless you add a reference from application A to shared library Y.
If you try to reference both shared library X and shared library Y from application A, then you will get a deployment error.
This is because an application cannot reference two or more shared libraries with the same subflow in them.


Thanks. That's what i had in mind but thought better to have a second opinion.
Anyone who have observed otherwise or have relevant clarification to add are welcome to share further.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jul 12, 2016 9:52 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

wmbfrz wrote:


Thanks. That's what i had in mind but thought better to have a second opinion.
Anyone who have observed otherwise or have relevant clarification to add are welcome to share further.


There have been posts in this thread from at least one person who works on the product at IBM so they should know what they are talking about.
_________________
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
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 » Behavior of components with common name in different Shared
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.