Skip to main content
1 vote
0 answers
2k views

I have a Kafka Listener marked with @Controller: @KafkaListener(topics = "${binlookup.kafka.topic.insert}") public BinInfoJsonDTO listenAndInsert(String binInfoJson, Acknowledgment ack) { ...
1 vote
0 answers
47 views

I am trying to update entity fields dynamically using reflection in a Spring Boot application. I wrote the following code: public EmployeeDTO updateEmployeeById(Long employeeId, Map<String, Object&...
1 vote
0 answers
140 views

I am trying to understand the new API Versioning feature introduced in Spring 7 and seems like something is not right. According to the spring documentation, if versioning is enabled and no version ...
1 vote
0 answers
601 views

Using Spring-Boot with RabbitMQ I'm trying to create an exchange that can have n-number of queues, one for each of the microservices so each of them will get the same message. Producer microservice ...
Advice
0 votes
0 replies
45 views

Context: We started building the application with multiple micro services at first and now at a point where the application is more mature and changes are not frequent, lots of discussions were done ...
1 vote
0 answers
54 views

In Spring Framework 6 (Spring MVC), several of my @RestController endpoints return a MappingJacksonValue so I can set a Jackson serialization view dynamically based on the authenticated user’s group (...
2 votes
0 answers
527 views

When configuring WebClient with a ServletOAuth2AuthorizedClientExchangeFilterFunction, we've found that both implementations provided for OAuth2AuthorizedClientService cache tokens in a way that make ...
1 vote
0 answers
258 views

I have mvc app with struct: -src |-main (here java files) |-resources (here only application.properties file) |-webapp |-css |-js |-img |(jsp files) I have not .xml files(besides pom....
0 votes
0 answers
122 views

I’m struggling to piece together how to seamlessly use the MCP Prompt from an MCP server to an MCP client, both using Spring AI 1.1.0. The Problem: The server returns a GetPromptResult that contains a ...
Advice
0 votes
0 replies
32 views

I have a fresh and minimal Spring boot 4 project with Spring Modulith which you can see here. I have two modules User and Task. A User has zero or more Tasks. Both modules expose a MTO (Module ...
1 vote
0 answers
105 views

I am trying to create a custom generic repository using the fragment interface approach as described in this article: https://docs.spring.io/spring-data/jpa/reference/repositories/custom-...
1 vote
0 answers
103 views

Our application is leveraging dependencies com.hazelcast:hazelcast and com.hazelcast:hazelcast-spring to connect to a Hazelcast cluster. In the process of upgrading their versions from 5.5.0 to 5.6.0, ...
0 votes
0 answers
118 views

I was following a tutorial that shows this application.properties for gateway configuration: server.port=9000 spring.application.name=UserMS spring.cloud.gateway.routes[0].id=UserMS spring.cloud....
0 votes
0 answers
84 views

I have a spring state machine that is tied to states of an object from another service, that is retrieved and updated using HTTP APIs. So, it's not a local database. I'm thinking to use transition ...
2 votes
0 answers
106 views

In Spring WebFlux, when working with reactive streams , why is it recommended to return a Publisher (like Mono.error()) instead of throwing an exception directly within a stream? I saw this question ...

15 30 50 per page
1
2 3 4 5
2405