activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6694) Not possible to autowire connectionFactory in Spring Boot using SB starter
Date Sat, 22 Jul 2017 14:23:00 GMT

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

ASF subversion and git services commented on AMQ-6694:
------------------------------------------------------

Commit bdad06fdca98f161aefbd23e2c983a0d8c60898f in activemq's branch refs/heads/master from
[~davsclaus]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=bdad06f ]

AMQ-6694: Not possible to autowire connectionFactory in Spring Boot using SB starter


> Not possible to autowire connectionFactory in Spring Boot using SB starter
> --------------------------------------------------------------------------
>
>                 Key: AMQ-6694
>                 URL: https://issues.apache.org/jira/browse/AMQ-6694
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-camel
>    Affects Versions: 5.14.1, 5.14.2, 5.14.3, 5.14.4, 5.14.5
>            Reporter: Preben Asmussen
>            Assignee: Claus Ibsen
>             Fix For: 5.15.1, 5.16.0
>
>
> From version 5.14.1 it is not possible to autowire the ConnectionFactory on the activemq
component due to the change introduced in this commit
> https://github.com/apache/activemq/commit/4437393aa1a981a182142c255f76ae7cc50af183#diff-474de9fc51b7273d42a39c6327492388

> Im not really able to create a PR since I'm aware of the reasoning behind that camel
activemq should not be allowed to autowire the sb connectionfactory whereas the camel jms
component is  https://github.com/apache/camel/blob/master/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java#L184
> Currently the SB autowirering as described here https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-messaging.html#boot-features-activemq
seems broken.
> The quickfix would be to allow autowirering again, but I wonder if there are other considerations
that has to be taken into account.
> See also discussion here 
> http://camel.465427.n5.nabble.com/spring-activemq-broker-url-not-set-correct-on-Activemq-Spring-Boot-td5799927.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message