Questions tagged [request-response]
63 questions
0
votes
1 answer
How to write response.sendRedirect() method with paramters in JSP
I have the following code in one of my JSP :

Som
- 1,522
- 1
- 15
- 48
0
votes
1 answer
.Net Framework Web API - Custom Json serialization for requests and responses
I am trying to find an example of how to customize my .Net Framework Web API, to handle requests and responses with a custom serialization library instead of the built-in Newtonsoft library.
So when request arrives to one of my controllers with…

user2055886
- 99
- 2
- 10
0
votes
1 answer
RabbitMQ RPC load balancing
Do RabbitMQ RPC (request-response) communication model support load balancing?
I have seen many examples using RPC with RabbitMQ but none of them mentioned load balancing support.
It will be great if a client will be able to send a request to a…

Marco
- 3,337
- 2
- 19
- 25
0
votes
2 answers
Using both, request-reply and pub-sub for microservices communication
We are planning to introduce both, pub-sub and request-reply communication models to our micriservices architecture. Both communication models are needed.
One of the solutions could be using RabbitMQ as it can provide both models and provide HA,…

Marco
- 3,337
- 2
- 19
- 25
0
votes
1 answer
node js call a promise function inside a chain .then
Hello I am new working with asynchronous calls I hope you can help me.
I have a .then chain where I want to call in the middle of the chain a function that returns a promise but it happens to me that the chain does not wait for it to have the result…

Cesar Castillo
- 147
- 1
- 4
- 11
0
votes
0 answers
ASP.NET Web Forms Download String as File without interfering with initial request
In my ASP.NET Web Forms application, I have to download a string as a file right after i'm doing an action on the web page. The flow is as follows:
Do initial action (button click)
It opens up a popup window where the username and password are…

Frody
- 163
- 10
0
votes
1 answer
Request-response with kafka and key-value store
TLDR: Have a request/response pattern. Currently requests done via activemq queue and response is done via memcached key-value store (which is polled by front end). Want to move to kafka for a variety of reasons, wondering if we can re-architect the…

Ilya
- 561
- 2
- 17
0
votes
1 answer
Is the Single Call, Multiple Answer Pattern possible with Request/Response in MQTT?
In the Single Call Multiple Answer Pattern you can send a request and recieve more than one response to this request. A mqtt client can send a request with a response topic and some correlation data. can one client answer to this request with more…
user10624701
0
votes
1 answer
NServiceBus 7 - How to send multiple consecutive requests?
I am trying to make multiple consecutive requests using NServiceBus and RabbitMQ. Here is my code
class Program
{
static void Main(string[] args)
{
MainAsync().GetAwaiter().GetResult();
}
static async…

EduardoCMB
- 392
- 2
- 17
0
votes
1 answer
Im usisng Masstransit Requst Response in asp.net core when I Send Request before get Response Request Canceling and throw Exception
I am using Masstransit Request-Response in Asp.NetCore
When I send Request before I get Response, Request is getting Cancelled and throwing this Exception
System.Threading.Tasks.TaskCanceledException: A task was canceled.
I have downloaded…
0
votes
1 answer
Node js :- Response chunks to file re-named with content-disposition
I am trying to get a document (pdf/docx/zip/..) from an API and save it with the file name received at content-disposition in response header. I have tried the below methods. But either the file is not saved with the actual file name or the file is…

N29
- 141
- 1
- 17
0
votes
2 answers
Add RequestDTO and ResponseDTO in common DTO or use them separately?
I'm working on a web service in java. I need help and advice on the issue of Request and Response DTOs. having gone through this question here on stackoverflow:
Reusing DTO for various request/response types vs explicitness of what is required /…

Vuzi
- 185
- 2
- 4
- 13
0
votes
0 answers
Does http establish connection for request and response
I have been reading contradicting statements about HTTP from various sources.
These are the three contradicting statements that I came across.
"HTTP is a connection-less protocol that does not establish connection to send request or receive…

aziz
- 83
- 1
- 7
0
votes
2 answers
Circular Import in Django
I have been trying to run a client-server application using Django. When I am trying to run my server in Django , it is giving me the following error.
django.core.exceptions.ImproperlyConfigured: The included URLconf '' does not appear to
have…

TeeKay
- 1,025
- 2
- 22
- 60
0
votes
1 answer
MPI and request/reply
Does the MPI standard implement the request-reply communication pattern?
Reading about MPI I found that there are point-to-point routines like:
Synchronous send
Blocking send / blocking receive
Non-blocking send /non-blocking receive
Buffered…

Renato Sanhueza
- 534
- 7
- 27