Bug 1124501 - Duplicate Name: The name "GreetingService" must be unique among services, references and component services.
Summary: Duplicate Name: The name "GreetingService" must be unique among services, ref...
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-29 16:00 UTC by Tomas Rohovsky
Modified: 2021-11-08 10:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1153675 0 unspecified CLOSED Several HTTP bindings in different composite services with the same name creates camel components only once 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SWITCHYARD-2237 0 Major Open Duplicate Name: The name "GreetingService" must be unique among services, references and component services. 2015-04-30 14:02:13 UTC

Internal Links: 1153675

Description Tomas Rohovsky 2014-07-29 16:00:08 UTC
I have two composite services and two component services (each associated to a component with different implementation) - all services have the same name. The tooling shows error markers with the message: "Duplicate Name: The name "GreetingService" must be unique among services, references and component services."

But it is possible to deploy such an application, with no warning from the maven-switchyard-plugin and no warning from the runtime. If bindings on those services are invoked (each contains HTTP binding with a different context path), then one component implementation is invoked each time.

It should be disallowed to deploy such an application.

See the attached reproducer for more details.


Note You need to log in before you can comment on or make changes to this bug.