You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ghazi <gh...@gmail.com> on 2016/03/01 15:23:23 UTC

Re: HelloWorld Example - apache Camel

Hello Sir !
Thanks for the help .
I fixed that problem
and i am having another one .In fact, when i run my project this error :
"  AllowUseOriginalMessage is enabled. If access to the original message is
not needed, then its recommended to turn this option off as it may improve
performance. "
Please check the screenshot below this message :

""
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/ghazi/.m2/repository/org/slf4j/slf4j-simple/1.7.5/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/ghazi/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/ghazi/.m2/repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/ghazi/.m2/repository/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
[main] INFO org.apache.camel.main.MainSupport - Apache Camel 2.15.2 starting
[main] INFO org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.15.2
(CamelContext: camel-1) is starting
[main] INFO org.apache.camel.management.ManagedManagementStrategy - JMX is
enabled
[main] INFO org.apache.camel.impl.converter.DefaultTypeConverter - Loaded
182 type converters
[main] INFO org.apache.camel.impl.DefaultCamelContext -
AllowUseOriginalMessage is enabled. If access to the original message is
not needed, then its recommended to turn this option off as it may improve
performance.
[main] INFO org.apache.camel.impl.DefaultCamelContext - StreamCaching is
not in use. If using streams then its recommended to enable stream caching.
See more details at http://camel.apache.org/stream-caching.html
[main] INFO org.apache.camel.impl.DefaultCamelContext - Total 0 routes, of
which 0 is started.
[main] INFO org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.15.2
(CamelContext: camel-1) started in 0.357 seconds

""



2016-02-29 21:50 GMT+01:00 Gregoire Autric [via Camel] <
ml-node+s465427n5778452h91@n5.nabble.com>:

> Hi Ghazi,
>
> I think you have got a little trouble with sfl4j implementation.
> You have two impl (slf4j-simple and slf4j-log4j)
> If you want use log4j impl you have to write a log4j.properties correctly
> and put it into your classpath.
>
> BTW, the best source for all Camel exemples is the official repository
> available here:
>
> https://github.com/apache/camel/tree/master/examples
>
>
> Best Regards, Bien à vous,  どうぞお元気で,
> ____________________________________________________
> Greg AUTRIC
> - JBoss Middleware Consultant -
>
> On Mon, Feb 29, 2016 at 8:57 AM, Ghazi <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5778452&i=0>> wrote:
>
> > Hello everybody !
> > I am a new user of apache camel . I am working with ubuntu + my IDE is
> > eclipse luna .
> > I tried to run the example presented in this link :
> >
> > http://www.javavillage.in/apache-camel-basic-example.php
> > http://www.javavillage.in/apache-camel-basic-example.php
> > <http://www.javavillage.in/apache-camel-basic-example.php>
> >
> > I have fixed the dependencies but the example didn't run . Would you
> please
> > tell me what is the problem ?
> > I uploaded this project on 4shared . link below :
> > http://www.javavillage.in/apache-camel-basic-example.php
> > http://www.javavillage.in/apache-camel-basic-example.php
> > <http://www.javavillage.in/apache-camel-basic-example.php>
> > <http://camel.465427.n5.nabble.com/file/n5778412/camel.png>
> >
> > I need your help guys :)
> >
> >
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/HelloWorld-Example-apache-Camel-tp5778412.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/HelloWorld-Example-apache-Camel-tp5778414p5778452.html
> To unsubscribe from HelloWorld Example - apache Camel, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5778414&code=Z2hhemkuZW5uYWNlckBnbWFpbC5jb218NTc3ODQxNHwxMDM5MjE4NjE0>
> .
> 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>
>


camel1.png (356K) <http://camel.465427.n5.nabble.com/attachment/5778478/0/camel1.png>




--
View this message in context: http://camel.465427.n5.nabble.com/HelloWorld-Example-apache-Camel-tp5778414p5778478.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HelloWorld Example - apache Camel

Posted by Quinn Stevenson <qu...@pronoia-solutions.com>.
That’s just an info level log statement.  If you don’t need the original message, you can disable it by setting useOriginalMessage to false on the Camel Context.

Same kind of think applies to the Stream Caching log statement.

> On Mar 1, 2016, at 7:23 AM, Ghazi <gh...@gmail.com> wrote:
> 
> Hello Sir !
> Thanks for the help .
> I fixed that problem
> and i am having another one .In fact, when i run my project this error :
> "  AllowUseOriginalMessage is enabled. If access to the original message is
> not needed, then its recommended to turn this option off as it may improve
> performance. "
> Please check the screenshot below this message :
> 
> ""
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/home/ghazi/.m2/repository/org/slf4j/slf4j-simple/1.7.5/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/ghazi/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/ghazi/.m2/repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/ghazi/.m2/repository/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings <http://www.slf4j.org/codes.html#multiple_bindings> for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
> [main] INFO org.apache.camel.main.MainSupport - Apache Camel 2.15.2 starting
> [main] INFO org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.15.2
> (CamelContext: camel-1) is starting
> [main] INFO org.apache.camel.management.ManagedManagementStrategy - JMX is
> enabled
> [main] INFO org.apache.camel.impl.converter.DefaultTypeConverter - Loaded
> 182 type converters
> [main] INFO org.apache.camel.impl.DefaultCamelContext -
> AllowUseOriginalMessage is enabled. If access to the original message is
> not needed, then its recommended to turn this option off as it may improve
> performance.
> [main] INFO org.apache.camel.impl.DefaultCamelContext - StreamCaching is
> not in use. If using streams then its recommended to enable stream caching.
> See more details at http://camel.apache.org/stream-caching.html <http://camel.apache.org/stream-caching.html>
> [main] INFO org.apache.camel.impl.DefaultCamelContext - Total 0 routes, of
> which 0 is started.
> [main] INFO org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.15.2
> (CamelContext: camel-1) started in 0.357 seconds
> 
> ""
> 
> 
> 
> 2016-02-29 21:50 GMT+01:00 Gregoire Autric [via Camel] <
> ml-node+s465427n5778452h91@n5.nabble.com <ma...@n5.nabble.com>>:
> 
>> Hi Ghazi,
>> 
>> I think you have got a little trouble with sfl4j implementation.
>> You have two impl (slf4j-simple and slf4j-log4j)
>> If you want use log4j impl you have to write a log4j.properties correctly
>> and put it into your classpath.
>> 
>> BTW, the best source for all Camel exemples is the official repository
>> available here:
>> 
>> https://github.com/apache/camel/tree/master/examples
>> 
>> 
>> Best Regards, Bien à vous,  どうぞお元気で,
>> ____________________________________________________
>> Greg AUTRIC
>> - JBoss Middleware Consultant -
>> 
>> On Mon, Feb 29, 2016 at 8:57 AM, Ghazi <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5778452&i=0 <http://user/SendEmail.jtp?type=node&node=5778452&i=0>>> wrote:
>> 
>>> Hello everybody !
>>> I am a new user of apache camel . I am working with ubuntu + my IDE is
>>> eclipse luna .
>>> I tried to run the example presented in this link :
>>> 
>>> http://www.javavillage.in/apache-camel-basic-example.php
>>> http://www.javavillage.in/apache-camel-basic-example.php
>>> <http://www.javavillage.in/apache-camel-basic-example.php>
>>> 
>>> I have fixed the dependencies but the example didn't run . Would you
>> please
>>> tell me what is the problem ?
>>> I uploaded this project on 4shared . link below :
>>> http://www.javavillage.in/apache-camel-basic-example.php
>>> http://www.javavillage.in/apache-camel-basic-example.php
>>> <http://www.javavillage.in/apache-camel-basic-example.php>
>>> <http://camel.465427.n5.nabble.com/file/n5778412/camel.png>
>>> 
>>> I need your help guys :)
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> 
>> http://camel.465427.n5.nabble.com/HelloWorld-Example-apache-Camel-tp5778412.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/HelloWorld-Example-apache-Camel-tp5778414p5778452.html <http://camel.465427.n5.nabble.com/HelloWorld-Example-apache-Camel-tp5778414p5778452.html>
>> To unsubscribe from HelloWorld Example - apache Camel, click here
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5778414&code=Z2hhemkuZW5uYWNlckBnbWFpbC5jb218NTc3ODQxNHwxMDM5MjE4NjE0 <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5778414&code=Z2hhemkuZW5uYWNlckBnbWFpbC5jb218NTc3ODQxNHwxMDM5MjE4NjE0>>
>> .
>> 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 <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>>
>> 
> 
> 
> camel1.png (356K) <http://camel.465427.n5.nabble.com/attachment/5778478/0/camel1.png <http://camel.465427.n5.nabble.com/attachment/5778478/0/camel1.png>>
> 
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/HelloWorld-Example-apache-Camel-tp5778414p5778478.html <http://camel.465427.n5.nabble.com/HelloWorld-Example-apache-Camel-tp5778414p5778478.html>
> Sent from the Camel - Users mailing list archive at Nabble.com <http://nabble.com/>.