cost 105 ms
Spring 集成:无法在.netcat 命令后发送回复 - Spring Integration : Failed to send reply after netcat's command

我的用例: Client.netcat 向服务器发送 tcp socket 服务器 tcp 与 Spring 集成接收来自客户端的请求服务器使用 TcpInboundGateway 接收请求,处理服务器通过 TcpInboundGateway 将回复发送回客户端客户端接收并显示答案。 不幸的是,从 ...

为什么在负载测试期间请求会干扰另一个请求并降低性能? - Why do requests interfere with one another requests and slow performance with Spring Integration during load testing?

我在做什么? 我正在使用TLSv1.2连接到远程服务器并发送最多300 字节的数据并接收到同样大小的响应。 预计交付什么? 在负载测试期间,我们预计将提供1000TPS 。 最多使用 50 个持久 TLS 连接。 出了什么问题? 在负载测试期间,我们收到的最大 TPS 是 250TPS。 在负载测 ...

如何强制 TcpNetClientConnectionFactory 打开连接而不发送消息? - How to force TcpNetClientConnectionFactory to open a connection without sending a message?

我的任务是创建一个 Spring-integration TCP 客户端,它应该连接到服务器并从中接收消息: 服务器负责发送“心跳”和数据消息,并且不期望来自客户端的任何传入消息,除了确认。 客户端必须打开并维护(重新打开)与服务器的连接。 据我了解, TcpNetClientConnection ...

Spring Integration - IP - 接收多个响应 - Spring Integration - IP - Receiving more than one response

我正在使用 spring 集成 tcp 进行大容量集成,我只发送一个请求并通过一个连接接收超过数百万个数据,并且两个接收消息之间的时间低于 100 毫秒。 这是我的上下文 xml,我使用的是 TCPOutboundGateway。 我从github上举了一个例子。 我的问题是; 我可以成功处理 ...

使用 TCP FailOverConnectionFactory 有没有办法进行自定义健康检查和故障回退到故障转移? - With TCP FailOverConnectionFactory is there a way to do custom health check and on failure fallback to failover?

我有一个 Tcp FailOverConnectionFactory 提供了两个 AbstarctClientConnectionFactory。 每个 AbstarctClientConnectionFactory 将连接到不同的服务器。 并使用 TcpOutboundGateway 进行消息交 ...

使用通道和网关的Spring Integration DSL中的Echo套接字服务 - Echo socket service in Spring Integration DSL using Channels and Gateways

这是我的问题的变体, 如何在Spring Integration DSL中实现简单的回显套接字服务 。 介绍了一个好的工作解决方案,但我想探索替代方案。 我特别对基于客户端和服务器实现中显式使用入站和出站通道的解决方案感兴趣。 那可能吗? 到目前为止,我能够提出: Heartb ...

如何在Spring Integration DSL Tcp中使用消息头进行路由 - How to route using message headers in Spring Integration DSL Tcp

我有2个服务器端服务,我想使用消息头将消息路由到它们,远程客户端将服务标识放入字段type 。 来自服务器端配置的代码段是否正确? 它引发强制转换异常,指示route()仅看到有效负载,而看不到消息头。 此外,Spring Integration手册中的所有示例仅显示基于有效负载的决策 ...

Spring Integration DSL Tcp:如何防止过多记录客户端拒绝的连接 - Spring Integration DSL Tcp: How to prevent excessive logging of Connection refused on the client side

我使客户端和服务器都能够等待彼此连接,因此它们可以以任何顺序独立启动。 此处描述的解决方案确实做到了这一点,即开箱即用,BUT客户端始终使用java.net.ConnectException: Connection refused: connect将大量的堆栈跟踪打印到我们的日志中java.n ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM