You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2021/03/24 17:05:00 UTC

[jira] [Commented] (ARTEMIS-3206) use spring boot to connect activemq artemis whit ha or cluster mode

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

Justin Bertram commented on ARTEMIS-3206:
-----------------------------------------

For what it's worth, I contributed [a fix|https://github.com/spring-projects/spring-boot/pull/24302] to the Spring Boot project that will allow you to configure the *url*. This will provide access to every possible configuration option that is important to the client (e.g. HA, multiple hosts, etc.). It should be available Spring Boot 2.5.0.

> use spring boot to connect activemq artemis whit ha or cluster mode
> -------------------------------------------------------------------
>
>                 Key: ARTEMIS-3206
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3206
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: wps
>            Priority: Major
>
> i can not find any configuration to connect cluster or ha using spring boot ,can you give a advice
> I have some question when i connet activemq artemis with ha mode useing spring boot。
>     According to you doc. when the activemq artemis mode is one. I can use spring boot's configfure to connect service.eg:
>     spring.artemis.host=
>     spring.artemis.port=
>     spring.artemis.user=
>    ........
>    but,when the mode is ha or cluster,and the node is more than one, if i want to use spring boot to conect the cluster,what should i do.
>    i can not find any configuration about cluster when use spring boot ,can you help me
>   ,I am looking forward to hearing from you



--
This message was sent by Atlassian Jira
(v8.3.4#803005)