You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/07/01 07:01:11 UTC

[jira] [Commented] (CAMEL-10109) Camel Spring Boot does not load EventNotifiers

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

Claus Ibsen commented on CAMEL-10109:
-------------------------------------

You need to mark the event notifier with `@Component` or something so its enlisted into Spring Registry

> Camel Spring Boot does not load EventNotifiers
> ----------------------------------------------
>
>                 Key: CAMEL-10109
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10109
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot
>    Affects Versions: 2.17.1
>            Reporter: John Mark
>
> When using the camel spring XML, {{EventNotifier}} objects in the Spring context are automatically detected and used by the camel context. This is not the case when using camel-spring-boot, but it should be.
> See http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)