![](/img/trans.png)
[英]Spring Integration : Failed to send reply after netcat's command
我的用例: Client.netcat 向服務器發送 tcp socket 服務器 tcp 與 Spring 集成接收來自客戶端的請求服務器使用 TcpInboundGateway 接收請求,處理服務器通過 TcpInboundGateway 將回復發送回客戶端客戶端接收並顯示答案。 不幸的是,從 ...
[英]Spring Integration : Failed to send reply after netcat's command
我的用例: Client.netcat 向服務器發送 tcp socket 服務器 tcp 與 Spring 集成接收來自客戶端的請求服務器使用 TcpInboundGateway 接收請求,處理服務器通過 TcpInboundGateway 將回復發送回客戶端客戶端接收並顯示答案。 不幸的是,從 ...
[英]SpringBoot IntegrationFlow Tcp.inboundGateway how to send client message on connect
我需要在連接時發送給客戶端消息! org.springframework.integration 彈簧集成IP 版本 5.5.14 ...
[英]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。 在負載測 ...
[英]How to set SO_REUSEADDR in a TCP Outbound Adapter?
我有幾個 TCP/IP 出站適配器來向連接的客戶端發送消息。 TCP/IP 通信協議需要設置套接字標志:TCP_NODELAY、SO_REUSEADDR 和 SO_KEEPALIVE。 如何將套接字的 SO_REUSEADDR 標志設置為 TRUE? ...
[英]Connection not found when processing reply GenericMessage
嘗試使用 spring-integration-ip 設置 Spring Boot TCP 服務器,但是當向服務器發送消息時總是收到錯誤消息: 這是我的 TcpServerConfig 文件: 和 TcpServerEnpoint 文件: 我正在嘗試發出簡單的請求-> 響應 TCP 服務器。 ...
[英]How to force TcpNetClientConnectionFactory to open a connection without sending a message?
我的任務是創建一個 Spring-integration TCP 客戶端,它應該連接到服務器並從中接收消息: 服務器負責發送“心跳”和數據消息,並且不期望來自客戶端的任何傳入消息,除了確認。 客戶端必須打開並維護(重新打開)與服務器的連接。 據我了解, TcpNetClientConnection ...
[英]Is it possible use custom header in Spring Integration TCP?
I've been trying to create a simple example of Spring Integration TCP whose uses a custom UUID header in the Message and send this message thought t ...
[英]Spring Integration TCP doesn't send messages
我一直在嘗試使用 Spring 集成 TCP 創建消費者和生產者。 我在偵聽部分取得了一些成功(我得到了通過 telnet 正常發送的消息),但是當我嘗試將相同的消息發送到終端客戶端時,沒有任何反應。 這些是我的課: Tcp監聽器 為什么它不起作用? ...
[英]Spring Integration - IP - Receiving more than one response
我正在使用 spring 集成 tcp 進行大容量集成,我只發送一個請求並通過一個連接接收超過數百萬個數據,並且兩個接收消息之間的時間低於 100 毫秒。 這是我的上下文 xml,我使用的是 TCPOutboundGateway。 我從github上舉了一個例子。 我的問題是; 我可以成功處理 ...
[英]About Non-blocking I/O is mean server side NIO?(in spring integration docs)
我正在使用 spring 集成。 在這個關於非阻塞 I/O 的鏈接中,它是在談論服務器端 NIO 嗎? 我將 TcpNioClientConnectionFactory(single-use = true) 與 CachingClientConnectionFactory 一起使用。 那份文件讓我 ...
[英]No publisher available to publish TcpConnectionOpenEvent / TcpConnectionCloseEvent
我用 Spring 集成的 Java DSL 配置了 TCP 客戶端。 看起來像這樣 @Bean public TcpSendingMessageHandler tcpClient() { return Tcp .outboundAda ...
[英]With TCP FailOverConnectionFactory is there a way to do custom health check and on failure fallback to failover?
我有一個 Tcp FailOverConnectionFactory 提供了兩個 AbstarctClientConnectionFactory。 每個 AbstarctClientConnectionFactory 將連接到不同的服務器。 並使用 TcpOutboundGateway 進行消息交 ...
[英]Imitate behaviour of OutputStreamWriter with TcpSendingMessageHandler
我們將以下代碼用於 Tcp 服務器:try (ServerSocket serverSocket = new ServerSocket(port)) { while (true) { Socket socket = serverSocket.accept(); ...
[英]Echo socket service in Spring Integration DSL using Channels and Gateways
這是我的問題的變體, 如何在Spring Integration DSL中實現簡單的回顯套接字服務 。 介紹了一個好的工作解決方案,但我想探索替代方案。 我特別對基於客戶端和服務器實現中顯式使用入站和出站通道的解決方案感興趣。 那可能嗎? 到目前為止,我能夠提出: Heartb ...
[英]How to route using message headers in Spring Integration DSL Tcp
我有2個服務器端服務,我想使用消息頭將消息路由到它們,遠程客戶端將服務標識放入字段type 。 來自服務器端配置的代碼段是否正確? 它引發強制轉換異常,指示route()僅看到有效負載,而看不到消息頭。 此外,Spring Integration手冊中的所有示例僅顯示基於有效負載的決策 ...
[英]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 ...
[英]Spring integration TCP/IP close connection problem
我使用spring集成作為全雙工通信系統的網關模塊。 該流程是客戶端應用程序< - > spring-integration-ip-module(siid)< - >服務器應用程序問題是當客戶端應用程序關閉時,ssid無法與服務器應用程序端關閉連接? 這是我的代碼 ...
[英]TcpReceivingChannelAdapter vs TcpSendingMessageHandler
為什么可以在入站適配器TcpReceivingChannelAdapter上設置通道,而不在出站適配器TcpSendingMessageHandler上設置通道? 為什么出站適配器稱為TcpSendingMessageHandler,為什么選擇處理程序而不是適配器? 可以直觀地期望入 ...
[英]How to implement simple echo socket service in Spring Integration DSL
請, 您能否在Spring Integration DSL中幫助實現簡單的回聲樣式Heartbeat TCP套接字服務? 更確切地說,如何在客戶端和服務器端將Adapter / Handler / Gateway插入IntegrationFlows 。 對於Spring Integrat ...
[英]How to get reply in dynamic-tcp-client
我想在我的項目中使用dynamic-tcp-client作為dynamic-tcp-client。 我想在此客戶端中得到答復,所以我更改了界面,添加了一個rerun String。 我想從服務器獲取回復消息 現在,我收到Unexpected message - no en ...