Terrien Jean-Yves created CAMEL-12523:
-----------------------------------------

             Summary: Camel-cdi blueprint smx7
                 Key: CAMEL-12523
                 URL: https://issues.apache.org/jira/browse/CAMEL-12523
             Project: Camel
          Issue Type: Test
          Components: camel-cdi
         Environment: Hi,

I'm using annotations to define my route builder in blueprint

I have a blueprint.xml file that only contains:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:camel="http://camel.apache.org/schema/blueprint";
    xsi:schemaLocation="
   http://www.osgi.org/xmlns/blueprint/v1.0.0 
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
   http://camel.apache.org/schema/blueprint 
http://camel.apache.org/schema/blueprint/camel-blueprint.xsd";>

    <camelContext id="hermes-journal" trace="false" 
xmlns="http://camel.apache.org/schema/blueprint";>
        <routeBuilder ref="routeBuilder" />
    </camelContext>

</blueprint>
{code}
I was looking for how to remove this file. I found the annotation
{code:java}
@ContextName ("mycontext")
{code}
But I can not create the context.
 I added the camel-cdi feature to ServiceMix

But without the blueprint.xml file the context is not created.

 

Thank
            Reporter: Terrien Jean-Yves






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to