camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From souciance <souciance.eqdam.ras...@gmail.com>
Subject Re: Camel zero routes started upon startup of context
Date Thu, 03 Nov 2016 09:41:22 GMT
One issue with this is that it also seems to mess with mdc looking in
Karaf..

On Wed, Nov 2, 2016 at 10:54 PM, Souciance Eqdam Rashti <
souciance.eqdam.rashti@gmail.com> wrote:

> Gmail is not the best formatter but here it is..you can probably put it in
> notepad++ for better highlighting..
>
> <?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:cm="http://aries.apache.org/blueprint/xmlns/blueprint-
> cm/v1.1.0"
>            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">
>   <!-- Route builder beans -->
>   <bean id="DemoImport" class="demo.datasets.invoke.DemoImport"/>
>   <bean id="PreProcess" class ="demo.datasets.messages.PreProcess"/>
>   <bean id="DatasetMessage" class ="demo.datasets.messages.
> DatasetMessage"/>
>   <bean id="DatasetMetadataMessage" class="demo.datasets.messages.
> DatasetMetadataMessage"/>
>   <bean id="EventbusHeaders" class="demo.datasets.messages.
> EventbusHeaders"/>
>   <bean id="DatasetConsumer" class="demo.datasets.messages.
> DatasetConsumer"/>
>   <bean id="ErrorHandler" class="demo.datasets.error.ErrorHandler"/>
>   <bean id ="InitiateImportMessage" class="demo.datasets.messages.
> InitiateImportMessage"/>
>   <bean id="NorMarcParser" class="demo.datasets.messages.NorMarcParser"/>
>
>   <cm:property-placeholder id="DemoImportId" persistent-id="DemoImportPersistentId"
> update-strategy="reload">
>     <cm:default-properties>
>       <cm:property name="InitiateImport" value="InitiateImport"/>
>       <cm:property name="ImportDatasets" value="ImportDemoDatasets"/>
>       <cm:property name="DatasetsLocation" value="Demo_datasets"/>
>     </cm:default-properties>
>   </cm:property-placeholder>
>
>
>    <camelContext id="ImportDemoDatasets" xmlns="http://camel.apache.
> org/schema/blueprint" useMDCLogging="true">
>      <routeBuilder ref="ErrorHandler"/>
>      <routeBuilder ref="DemoImport"/>
>     </camelContext>
>
> </blueprint>
>
> On Wed, Nov 2, 2016 at 10:28 PM, Quinn Stevenson [via Camel] <
> ml-node+s465427n5789674h57@n5.nabble.com> wrote:
>
>> Can you share the Blueprint XML?
>>
>>
>> > On Nov 2, 2016, at 12:53 PM, souciance <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5789674&i=0>> wrote:
>> >
>> > I am using camel-blueprint 2.17.0 and the blueprint simply states the
>> > routes and I use the java dsl to implement the routes. Everything is
>> > deployed to Karaf 4.0.2.
>> >
>> > However I see the same log output if I simply run it in intellij.
>> >
>> > On Wed, Nov 2, 2016 at 4:59 PM, Claus Ibsen-2 [via Camel] <
>> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=5789674&i=1>>
>> wrote:
>> >
>> >> Are you using camel-cdi, then it was doing like that for older
>> releases.
>> >>
>> >> Try with 2.18 or maybe latest 2.17.x
>> >>
>> >> On Wed, Nov 2, 2016 at 11:09 AM, souciance
>> >> <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5789657&i=0>>
>>
>> >> wrote:
>> >>
>> >>> Hello,
>> >>>
>> >>> I have question regarding the output of Camel when routes are
>> started.
>> >>>
>> >>> I can see that it states first:
>> >>> Total 0 routes, of which 0 are started.
>> >>> Then it says the CamelContext has started..
>> >>> Furtherdown it says the routes have started and consuming.
>> >>>
>> >>> Why is it doing that and not let me know at the end how many routes
>> have
>> >>> started? See the screenshot for an example.
>> >>>
>> >>> <http://camel.465427.n5.nabble.com/file/n5789651/Screen_
>> >> Shot_11-02-16_at_04.png>
>> >>>
>> >>> Best
>> >>> Souciance
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> View this message in context: http://camel.465427.n5.nabble.
>> >> com/Camel-zero-routes-started-upon-startup-of-context-tp5789651.html
>> >>> Sent from the Camel - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> >> --
>> >> Claus Ibsen
>> >> -----------------
>> >> http://davsclaus.com @davsclaus
>> >> Camel in Action 2: https://www.manning.com/ibsen2
>> >>
>> >>
>> >> ------------------------------
>> >> If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >> http://camel.465427.n5.nabble.com/Camel-zero-routes-started-
>> >> upon-startup-of-context-tp5789651p5789657.html
>> >> To start a new topic under Camel - Users, email
>> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5789674&i=2>
>> >> To unsubscribe from Camel zero routes started upon startup of context,
>> click
>> >> here
>> >> <
>> >> .
>> >> NAML
>> >> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?
>> macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&
>> base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.
>> template.NabbleNamespace-nabble.view.web.template.NodeNamesp
>> ace&breadcrumbs=notify_subscribers%21nabble%3Aemail.
>> naml-instant_emails%21nabble%3Aemail.naml-send_instant_
>> email%21nabble%3Aemail.naml>
>> >>
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context: http://camel.465427.n5.nabble.
>> com/Camel-zero-routes-started-upon-startup-of-context-tp5789
>> 651p5789667.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://camel.465427.n5.nabble.com/Camel-zero-routes-started-
>> upon-startup-of-context-tp5789651p5789674.html
>> To start a new topic under Camel - Users, email
>> ml-node+s465427n465428h31@n5.nabble.com
>> To unsubscribe from Camel zero routes started upon startup of context, click
>> here
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5789651&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NTc4OTY1MXwxNTMyOTExNjU2>
>> .
>> NAML
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-zero-routes-started-upon-startup-of-context-tp5789651p5789689.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message