All Questions
18
questions
1
vote
1
answer
211
views
How to deliver the result of asynchronous request from back to front (Callback)
Client send a request to my my service "A" then I send a request from service "A" to Camunda like "doSmthAndGet" then camunda replies "request accepted" and ...
1
vote
1
answer
118
views
Is apache ignite call back function blocking or non blocking?
I am using apache ignite,
there is a code block that looks like this:
query.setLocalListener(cacheEntryEvents -> {
Set<String> taskIds = new HashSet<>();
for (CacheEntryEvent<? ...
0
votes
2
answers
6k
views
How to Implement a Callback in Methods that uses @Async (Springboot App)
I have a need to implement a callback-like solution to be notified of the success/failure of method calls. These methods I am calling are in a Springboot app and they are all asynchronous. More ...
1
vote
0
answers
201
views
Is there any way to send and receive message over websocket Synchronously in one thread
We are using a spring websocket server and OKhttp websocket client(java).
We are using SimpMessagingTemplate to send request message from server to client.
And from other side response is expected.
...
1
vote
2
answers
873
views
How can I get a hold of the argument of an asynchronous callback 'onResponse'?
I'm implementing a GraphQL client in a Java application using Apollo's auto generation of queries, and so far I've been able to chain calls and I also get the data I want. The issue is that Apollo ...
1
vote
0
answers
44
views
Update Database if Workflow Completes/Fails
I have a spring micro-service that on any CRUD endpoint updates an entity then registers a workflow to a orchestration system (Netflix conductor). This workflow is responsible for converting the ...
0
votes
1
answer
652
views
Return value from asynchonous running method to callback URL
I want to trigger a method to create a ArrayList and return this list to a callback-URL. This method can take a while until the data has been generated so it should be an asynchronous running method.
...
0
votes
1
answer
1k
views
deleting file used for attachment built with Spring MimeMessagePreparator
I have code like this, that builds and sends an email with attachment:
public void sendMail(final Data data) {
MimeMessagePreparator preparator = new MimeMessagePreparator() {
public ...
0
votes
1
answer
306
views
Spring WS Client update variable outside of callback
I'm extracting the HTTP response from WebServiceMessageCallback, but when I try to update a variable outside of the callback, I get: Cannot refer to a non-final variable rawResponse inside an inner ...
1
vote
1
answer
6k
views
Call stored procedure using Spring SimpleJdbcCall with callback
I have an Oracle Stored procedure that takes CLOB input and REFCURSOR output. I invoke the SP via Spring SimpleJdbcCall passing in a RowMapper to map the results.
However, since the result set is ...
1
vote
1
answer
2k
views
How to inject callback classes in Spring context?
Is it possible to use callbacks with Spring to that they are managed by application context?
My problem is when a service is used from outer by @Autowired, but within that service there is a callback ...
0
votes
1
answer
828
views
What port numbers for Spring-RMI-Callback
I am working on an application built upon a spring 2.0 stack with a rich client connecting to a server through RMI. The server is listening for incoming connections on an RMI registry which port has ...
0
votes
1
answer
597
views
Pooling data from server using RMI and springs
I am new to RMI and springs and need a little help with a feature we are implementing.
We are creating chat software with java and want to use RMI with springs.
I can setup a client server ...
1
vote
1
answer
863
views
How to use Spring MVC and Spring JdbcTemplate RowCallbackHandler and stream results?
I currently have a default Spring architecture: Repostiory, Service, Controller (Spring WebMVC), JacksonJson Mapper as "view". All my Repository/Service/Controller methods look like:
public ...
0
votes
2
answers
3k
views
How to get Spring Context
I have a third party library that starting up my aplication, load spring context and save it in private static filed without any acessors.
I need to get this context to my application. Does spring ...