I'm planning to write an application using spring boot where you can create users from that application. I'm wondering whether there's a possibility of updating the user list of Apache ActiveMQ Artemis broker with the credentials of the user created by the spring boot application? I couldn't find any reference on internet addressing this issue
The default security configuration for Apache ActiveMQ Artemis users properties files for user and role information. Either of these files can be updated at runtime and the broker will pick up those changes.
Related
I wanted to monitor my web application deployed in the production environment, monitoring tool notify me when the server down or any abnormal cases for that I decided to use spring admin, plz help to find the best resource for set upping spring admin with the spring boot project (correctly I'm using java melody for monitoring purpose, but I does not allow email notification)
When multiple spring boot applications created and deployed to a tomcat server. Is it possible to use a common connection pooling, datasource instead of providing these details in application.properties file. Or does this already taken care within the spring boot implementation
When you deploy multiple application then each application manages it connection pool.
Spring boot boundary is limited to each application context and it does not know what other application deployed and which db they are using.
I have created a spring boot application that uses spring boot starter data elasticsearch to connect to elasticsearch. I want to configure this application to setup connection pooling. How do I configure the application.properties to support it?
Old answer. Since Boot 2.2, the reactive client doesn't have these options.
From the docs:
spring.data.elasticsearch.properties.*= # Additional properties used to configure the client.
Though it does appear that the default TransportClient does pool connections anyway.
We have a Spring Boot application that needs to send messages to a queue available on a remote HornetQ message broker.
I saw that Spring Boot supports HornetQ in embedded mode. However, there's only a minimal set of spring.hornetq.* properties that I can set up on application.properties of my Boot application.
The application must use a core bridge (store and forward), which is configured in a hornetq-configuration.xml file.
Question: what do I need to do to make the HornetQ embedded instance provided by Spring Boot use a hornetq-configuration.xml file that I created?
i have embedded activemq broker in spring boot application, current solution for authentication is SimpleAuthentication plugin, but i need some solution that use spring security for activemq authentication. I can't find what i need, did someone know how to resolve this problem?
ActiveMQ leverages Apache Shiro for advanced security configurations.
You always write your own authentication plugin that uses Spring security