[ 
https://issues.apache.org/jira/browse/CAMEL-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982042#action_12982042
 ] 

Claus Ibsen commented on CAMEL-3476:
------------------------------------

Please adjust logging to a sensible level DEBUG is to verbost. Adjust some of 
the DEBUG to TRACE level.

For example debug logging "Starting" doesnt provide much value. Instead log 
maybe at INFO level that the consumer is starting and listening on XXX endpoint 
/ queue or whatever it listen. Likewise when it stops. 

Camel core itself has logging when it starts/stops consumers/producer etc so we 
got plenty of generic logging for that.

Loading resources / classes from classpath should *always* use the API from 
CamelContext. There is a ClassResolver. It ensures it can be loaded in OSGI, 
JBoss and whatever platform
{code}
 String s = 
IOUtils.toString(SnsConsumer.class.getResourceAsStream("/default-sqs-policy-template.json"));
{code}

> Contribute camel-sns component to the new camel-aws component.
> --------------------------------------------------------------
>
>                 Key: CAMEL-3476
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3476
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-aws
>    Affects Versions: 2.6.0
>            Reporter: Mark Ford
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: camel-aws-3476.txt, patchfile.txt
>
>
> CAMEL-3468 contributes a new component for interacting with the Amazon SQS 
> service. The camel-sns component allows users to publish/subscribe to topics 
> on Amazon's Simple Notification Service. 
> This code is currently hosted as a google code project here:
> http://code.google.com/p/camel-sns/
> I'll coordinate with Tracy (developer of camel-aws) in the creation of the 
> patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to