Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1099707

Summary: Service name containing "." or "_" cannot be used in Camel Service
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Tadayoshi Sato <tasato>
Component: SwitchYardAssignee: Tomohisa Igarashi <toigaras>
Status: CLOSED UPSTREAM QA Contact: Matej Melko <mmelko>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0 GACC: aileenc, kejohnso, soa-p-jira
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:35:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Reproducer none

Description Tadayoshi Sato 2014-05-21 03:40:04 UTC
Created attachment 897797 [details]
Reproducer

Description of problem:
Platform BZ for https://issues.jboss.org/browse/SWITCHYARD-2143

Service name containing "." or "_", e.g. "JavaDSLV1.0" or "JavaDSLV1_0", cannot be used in Camel Service.

When you try to deploy switchyard.xml having the following Camel component:

        <component name="JavaDSLBuilder">
            <implementation.camel xmlns="urn:switchyard-component-camel:config:1.0">
                <java class="org.switchyard.quickstarts.camel.service.JavaDSLBuilder"/>
            </implementation.camel>
            <service name="JavaDSLV1.0">
                <interface.java interface="org.switchyard.quickstarts.camel.service.JavaDSL"/>
            </service>
            ...
        </component>

you'll get the following error:

org.switchyard.SwitchYardException: SWITCHYARD033006: The implementation consumer doesn't match expected service JavaDSLV1.0
	at org.switchyard.component.camel.deploy.CamelActivator.handleImplementation(CamelActivator.java:103)
	at org.switchyard.component.camel.deploy.CamelActivator.activateService(CamelActivator.java:75)
	at org.switchyard.deploy.internal.Deployment.deployImplementations(Deployment.java:546)
	at org.switchyard.deploy.internal.Deployment.start(Deployment.java:144)
	at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757)
	at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177)
	at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:60)
	at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:236)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:233)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)

Comment 3 Red Hat Bugzilla 2025-02-10 03:35:54 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.