From 87272ef1790d7211cc8238b3ce4aa461c61764c7 Mon Sep 17 00:00:00 2001 From: Raphael Vullriede Date: Wed, 13 Mar 2024 09:35:10 +0100 Subject: [PATCH] better logging --- pom.xml | 4 +-- xchange-ascendex/pom.xml | 2 +- xchange-bankera/pom.xml | 2 +- xchange-bibox/pom.xml | 2 +- xchange-binance/pom.xml | 2 +- xchange-bitbay/pom.xml | 2 +- xchange-bitcoinaverage/pom.xml | 2 +- xchange-bitcoincharts/pom.xml | 2 +- xchange-bitcoincore/pom.xml | 2 +- xchange-bitcoinde/pom.xml | 2 +- xchange-bitcointoyou/pom.xml | 2 +- xchange-bitfinex/pom.xml | 2 +- xchange-bitflyer/pom.xml | 2 +- xchange-bithumb/pom.xml | 2 +- xchange-bitmex/pom.xml | 2 +- xchange-bitso/pom.xml | 2 +- xchange-bitstamp/pom.xml | 2 +- xchange-bittrex/pom.xml | 2 +- xchange-bity/pom.xml | 2 +- xchange-bitz/pom.xml | 2 +- xchange-bl3p/pom.xml | 2 +- xchange-bleutrade/pom.xml | 2 +- xchange-blockchain/pom.xml | 2 +- xchange-btcc/pom.xml | 2 +- xchange-btcmarkets/pom.xml | 2 +- xchange-btcturk/pom.xml | 2 +- xchange-bybit/pom.xml | 2 +- xchange-ccex/pom.xml | 2 +- xchange-cexio/pom.xml | 2 +- xchange-coinbase/pom.xml | 2 +- xchange-coinbasepro/pom.xml | 2 +- xchange-coincheck/pom.xml | 2 +- xchange-coindeal/pom.xml | 2 +- xchange-coindirect/pom.xml | 2 +- xchange-coinegg/pom.xml | 2 +- xchange-coinex/pom.xml | 2 +- xchange-coinfloor/pom.xml | 2 +- xchange-coingi/pom.xml | 2 +- xchange-coinjar/pom.xml | 2 +- xchange-coinmarketcap/pom.xml | 2 +- xchange-coinmate/pom.xml | 2 +- xchange-coinone/pom.xml | 2 +- xchange-core/pom.xml | 2 +- xchange-cryptowatch/pom.xml | 2 +- xchange-deribit/pom.xml | 2 +- xchange-dvchain/pom.xml | 2 +- xchange-dydx/pom.xml | 2 +- xchange-enigma/pom.xml | 2 +- xchange-examples/pom.xml | 2 +- xchange-exmo/pom.xml | 2 +- xchange-ftx/pom.xml | 2 +- xchange-gateio/pom.xml | 2 +- xchange-gemini/pom.xml | 2 +- xchange-globitex/pom.xml | 2 +- xchange-hitbtc/pom.xml | 2 +- xchange-huobi/pom.xml | 2 +- xchange-idex/pom.xml | 2 +- xchange-independentreserve/pom.xml | 2 +- xchange-itbit/pom.xml | 2 +- xchange-koineks/pom.xml | 2 +- xchange-koinim/pom.xml | 2 +- xchange-kraken/pom.xml | 2 +- xchange-krakenfutures/pom.xml | 2 +- xchange-kucoin/pom.xml | 2 +- xchange-kuna/pom.xml | 2 +- xchange-latoken/pom.xml | 2 +- xchange-lgo/pom.xml | 2 +- xchange-livecoin/pom.xml | 2 +- xchange-luno/pom.xml | 2 +- xchange-lykke/pom.xml | 2 +- xchange-mercadobitcoin/pom.xml | 2 +- xchange-mexc/pom.xml | 2 +- xchange-okcoin/pom.xml | 2 +- xchange-okex/pom.xml | 2 +- xchange-openexchangerates/pom.xml | 2 +- xchange-paribu/pom.xml | 2 +- xchange-paymium/pom.xml | 2 +- xchange-poloniex/pom.xml | 2 +- xchange-quoine/pom.xml | 2 +- xchange-ripple/pom.xml | 2 +- xchange-serum/pom.xml | 2 +- xchange-simulated/pom.xml | 2 +- xchange-stream-bankera/pom.xml | 2 +- xchange-stream-binance/pom.xml | 2 +- xchange-stream-bitfinex/pom.xml | 2 +- xchange-stream-bitflyer/pom.xml | 2 +- xchange-stream-bitmex/pom.xml | 2 +- xchange-stream-bitstamp/pom.xml | 2 +- xchange-stream-btcmarkets/pom.xml | 2 +- xchange-stream-cexio/pom.xml | 2 +- xchange-stream-coinbasepro/pom.xml | 2 +- xchange-stream-coincheck/pom.xml | 2 +- xchange-stream-coinjar/pom.xml | 2 +- xchange-stream-coinmate/pom.xml | 2 +- xchange-stream-core/pom.xml | 2 +- xchange-stream-dydx/pom.xml | 2 +- xchange-stream-ftx/pom.xml | 2 +- xchange-stream-gateio/pom.xml | 2 +- xchange-stream-gemini-v2/pom.xml | 2 +- xchange-stream-gemini/pom.xml | 2 +- xchange-stream-hitbtc/pom.xml | 2 +- xchange-stream-huobi/pom.xml | 2 +- xchange-stream-kraken/pom.xml | 2 +- .../kraken/KrakenStreamingService.java | 5 ++-- xchange-stream-krakenfutures/pom.xml | 2 +- xchange-stream-kucoin/pom.xml | 2 +- xchange-stream-lgo/pom.xml | 2 +- xchange-stream-okcoin/pom.xml | 2 +- xchange-stream-okex/pom.xml | 2 +- xchange-stream-poloniex2/pom.xml | 2 +- xchange-stream-serum/pom.xml | 2 +- xchange-stream-service-core/pom.xml | 2 +- xchange-stream-service-netty/pom.xml | 2 +- .../service/netty/WebSocketClientHandler.java | 28 ++++++++++++++----- xchange-stream-service-pubnub/pom.xml | 2 +- xchange-therock/pom.xml | 2 +- xchange-tradeogre/pom.xml | 2 +- xchange-truefx/pom.xml | 2 +- xchange-upbit/pom.xml | 2 +- xchange-vaultoro/pom.xml | 2 +- xchange-yobit/pom.xml | 2 +- xchange-zaif/pom.xml | 2 +- 122 files changed, 145 insertions(+), 130 deletions(-) diff --git a/pom.xml b/pom.xml index 3a8d88200a2..53f6777dbf7 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 pom XChange @@ -357,7 +357,7 @@ io.netty netty-all - 4.1.96.Final + 4.1.107.Final diff --git a/xchange-ascendex/pom.xml b/xchange-ascendex/pom.xml index 593d2b937da..bf047d72f0a 100644 --- a/xchange-ascendex/pom.xml +++ b/xchange-ascendex/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-ascendex diff --git a/xchange-bankera/pom.xml b/xchange-bankera/pom.xml index 719f7558d2d..1b3425f42ed 100644 --- a/xchange-bankera/pom.xml +++ b/xchange-bankera/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bankera diff --git a/xchange-bibox/pom.xml b/xchange-bibox/pom.xml index 46d41740891..a771231589a 100644 --- a/xchange-bibox/pom.xml +++ b/xchange-bibox/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bibox diff --git a/xchange-binance/pom.xml b/xchange-binance/pom.xml index c8f6c94102d..ee2e91df481 100644 --- a/xchange-binance/pom.xml +++ b/xchange-binance/pom.xml @@ -5,7 +5,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-binance diff --git a/xchange-bitbay/pom.xml b/xchange-bitbay/pom.xml index 063e28f10b6..cb448385491 100644 --- a/xchange-bitbay/pom.xml +++ b/xchange-bitbay/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitbay diff --git a/xchange-bitcoinaverage/pom.xml b/xchange-bitcoinaverage/pom.xml index 3abb4ced9c2..294b457e0f3 100644 --- a/xchange-bitcoinaverage/pom.xml +++ b/xchange-bitcoinaverage/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitcoinaverage diff --git a/xchange-bitcoincharts/pom.xml b/xchange-bitcoincharts/pom.xml index 20984026085..09de129c797 100644 --- a/xchange-bitcoincharts/pom.xml +++ b/xchange-bitcoincharts/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitcoincharts diff --git a/xchange-bitcoincore/pom.xml b/xchange-bitcoincore/pom.xml index aa2512cf942..32825ecb4d4 100644 --- a/xchange-bitcoincore/pom.xml +++ b/xchange-bitcoincore/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitcoincore diff --git a/xchange-bitcoinde/pom.xml b/xchange-bitcoinde/pom.xml index 6dd9d63b720..cb8db59510f 100644 --- a/xchange-bitcoinde/pom.xml +++ b/xchange-bitcoinde/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitcoinde diff --git a/xchange-bitcointoyou/pom.xml b/xchange-bitcointoyou/pom.xml index 4e02e6d871d..e5097dd2dad 100644 --- a/xchange-bitcointoyou/pom.xml +++ b/xchange-bitcointoyou/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitcointoyou diff --git a/xchange-bitfinex/pom.xml b/xchange-bitfinex/pom.xml index 749408acb2e..abc9e2ea7d4 100644 --- a/xchange-bitfinex/pom.xml +++ b/xchange-bitfinex/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitfinex diff --git a/xchange-bitflyer/pom.xml b/xchange-bitflyer/pom.xml index 5da2635e841..e5a61eb6ca2 100755 --- a/xchange-bitflyer/pom.xml +++ b/xchange-bitflyer/pom.xml @@ -6,7 +6,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 diff --git a/xchange-bithumb/pom.xml b/xchange-bithumb/pom.xml index bbac5ed67d9..4073452f22a 100644 --- a/xchange-bithumb/pom.xml +++ b/xchange-bithumb/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bithumb diff --git a/xchange-bitmex/pom.xml b/xchange-bitmex/pom.xml index 21fb8473b9e..4bf1eb38785 100755 --- a/xchange-bitmex/pom.xml +++ b/xchange-bitmex/pom.xml @@ -4,7 +4,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitmex diff --git a/xchange-bitso/pom.xml b/xchange-bitso/pom.xml index 6c806adf17d..8e8cccf4dd5 100644 --- a/xchange-bitso/pom.xml +++ b/xchange-bitso/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitso diff --git a/xchange-bitstamp/pom.xml b/xchange-bitstamp/pom.xml index 63dbab31f24..6f9e480c216 100644 --- a/xchange-bitstamp/pom.xml +++ b/xchange-bitstamp/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitstamp diff --git a/xchange-bittrex/pom.xml b/xchange-bittrex/pom.xml index 64109e6dd08..4b9e33fedd6 100644 --- a/xchange-bittrex/pom.xml +++ b/xchange-bittrex/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bittrex diff --git a/xchange-bity/pom.xml b/xchange-bity/pom.xml index 8aaf4a8922d..93c3f7f07c7 100644 --- a/xchange-bity/pom.xml +++ b/xchange-bity/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bity diff --git a/xchange-bitz/pom.xml b/xchange-bitz/pom.xml index 043956cd717..7710243d116 100644 --- a/xchange-bitz/pom.xml +++ b/xchange-bitz/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bitz diff --git a/xchange-bl3p/pom.xml b/xchange-bl3p/pom.xml index 385aa7b4687..6a42a8ba1e3 100644 --- a/xchange-bl3p/pom.xml +++ b/xchange-bl3p/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bl3p diff --git a/xchange-bleutrade/pom.xml b/xchange-bleutrade/pom.xml index b73bd14614d..586e6b807c8 100644 --- a/xchange-bleutrade/pom.xml +++ b/xchange-bleutrade/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bleutrade diff --git a/xchange-blockchain/pom.xml b/xchange-blockchain/pom.xml index c2fd12f3a24..f44c11c0400 100644 --- a/xchange-blockchain/pom.xml +++ b/xchange-blockchain/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-blockchain diff --git a/xchange-btcc/pom.xml b/xchange-btcc/pom.xml index b6b979189d6..a97e83e6726 100644 --- a/xchange-btcc/pom.xml +++ b/xchange-btcc/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-btcc diff --git a/xchange-btcmarkets/pom.xml b/xchange-btcmarkets/pom.xml index b635d74a4f5..f15224e5595 100644 --- a/xchange-btcmarkets/pom.xml +++ b/xchange-btcmarkets/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-btcmarkets diff --git a/xchange-btcturk/pom.xml b/xchange-btcturk/pom.xml index e5a6d0bcaf9..36f483bb99e 100644 --- a/xchange-btcturk/pom.xml +++ b/xchange-btcturk/pom.xml @@ -6,7 +6,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-btcturk diff --git a/xchange-bybit/pom.xml b/xchange-bybit/pom.xml index 2aa55d6bedf..6102e9359c9 100644 --- a/xchange-bybit/pom.xml +++ b/xchange-bybit/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-bybit diff --git a/xchange-ccex/pom.xml b/xchange-ccex/pom.xml index 5a72ce0c1f2..b193ecbc598 100644 --- a/xchange-ccex/pom.xml +++ b/xchange-ccex/pom.xml @@ -4,7 +4,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-ccex XChange C-Cex diff --git a/xchange-cexio/pom.xml b/xchange-cexio/pom.xml index 7f5342f23a9..297eb8c2188 100644 --- a/xchange-cexio/pom.xml +++ b/xchange-cexio/pom.xml @@ -6,7 +6,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-cexio diff --git a/xchange-coinbase/pom.xml b/xchange-coinbase/pom.xml index b9ce303ab87..6e1317b8229 100644 --- a/xchange-coinbase/pom.xml +++ b/xchange-coinbase/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coinbase diff --git a/xchange-coinbasepro/pom.xml b/xchange-coinbasepro/pom.xml index 42b72571284..d736797afef 100644 --- a/xchange-coinbasepro/pom.xml +++ b/xchange-coinbasepro/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coinbasepro diff --git a/xchange-coincheck/pom.xml b/xchange-coincheck/pom.xml index 7961c945734..3bd8609a868 100644 --- a/xchange-coincheck/pom.xml +++ b/xchange-coincheck/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coincheck diff --git a/xchange-coindeal/pom.xml b/xchange-coindeal/pom.xml index 911e63acdf8..32c3822d0f5 100644 --- a/xchange-coindeal/pom.xml +++ b/xchange-coindeal/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-coindirect/pom.xml b/xchange-coindirect/pom.xml index 58fff5ea36b..4f8407a719b 100644 --- a/xchange-coindirect/pom.xml +++ b/xchange-coindirect/pom.xml @@ -5,7 +5,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-coindirect diff --git a/xchange-coinegg/pom.xml b/xchange-coinegg/pom.xml index 39d0186d546..623e9dd0144 100644 --- a/xchange-coinegg/pom.xml +++ b/xchange-coinegg/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coinegg diff --git a/xchange-coinex/pom.xml b/xchange-coinex/pom.xml index 69e61446315..d70a74f7ebb 100644 --- a/xchange-coinex/pom.xml +++ b/xchange-coinex/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-coinfloor/pom.xml b/xchange-coinfloor/pom.xml index 8f24402b801..07bb1dc2635 100644 --- a/xchange-coinfloor/pom.xml +++ b/xchange-coinfloor/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coinfloor diff --git a/xchange-coingi/pom.xml b/xchange-coingi/pom.xml index 8442ec3c306..0326bcef133 100644 --- a/xchange-coingi/pom.xml +++ b/xchange-coingi/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coingi diff --git a/xchange-coinjar/pom.xml b/xchange-coinjar/pom.xml index 3ad68350d53..7343430c3f2 100644 --- a/xchange-coinjar/pom.xml +++ b/xchange-coinjar/pom.xml @@ -5,7 +5,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-coinjar diff --git a/xchange-coinmarketcap/pom.xml b/xchange-coinmarketcap/pom.xml index 3c3d92dddf7..7591db779ca 100644 --- a/xchange-coinmarketcap/pom.xml +++ b/xchange-coinmarketcap/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coinmarketcap diff --git a/xchange-coinmate/pom.xml b/xchange-coinmate/pom.xml index 5780056b52c..b66261e8662 100644 --- a/xchange-coinmate/pom.xml +++ b/xchange-coinmate/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coinmate diff --git a/xchange-coinone/pom.xml b/xchange-coinone/pom.xml index b9784cd9c8b..50a6f895a4d 100644 --- a/xchange-coinone/pom.xml +++ b/xchange-coinone/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-coinone diff --git a/xchange-core/pom.xml b/xchange-core/pom.xml index da5025bc4f1..c1a9c7a0811 100644 --- a/xchange-core/pom.xml +++ b/xchange-core/pom.xml @@ -3,7 +3,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-core diff --git a/xchange-cryptowatch/pom.xml b/xchange-cryptowatch/pom.xml index 685b25d1e6c..23760b295c2 100644 --- a/xchange-cryptowatch/pom.xml +++ b/xchange-cryptowatch/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-cryptowatch diff --git a/xchange-deribit/pom.xml b/xchange-deribit/pom.xml index bd1fc685ba3..3ed5cf10112 100644 --- a/xchange-deribit/pom.xml +++ b/xchange-deribit/pom.xml @@ -4,7 +4,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-deribit diff --git a/xchange-dvchain/pom.xml b/xchange-dvchain/pom.xml index 5a04165e726..a54d94760bd 100644 --- a/xchange-dvchain/pom.xml +++ b/xchange-dvchain/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-dydx/pom.xml b/xchange-dydx/pom.xml index d323c0ed960..e475578a7ce 100644 --- a/xchange-dydx/pom.xml +++ b/xchange-dydx/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-enigma/pom.xml b/xchange-enigma/pom.xml index 06c4d07d5ec..0b8ecb3c977 100644 --- a/xchange-enigma/pom.xml +++ b/xchange-enigma/pom.xml @@ -5,7 +5,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-enigma diff --git a/xchange-examples/pom.xml b/xchange-examples/pom.xml index abb5ea061ef..59261082ef1 100755 --- a/xchange-examples/pom.xml +++ b/xchange-examples/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-examples diff --git a/xchange-exmo/pom.xml b/xchange-exmo/pom.xml index cb1a6062744..b92eaef56ca 100644 --- a/xchange-exmo/pom.xml +++ b/xchange-exmo/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-exmo diff --git a/xchange-ftx/pom.xml b/xchange-ftx/pom.xml index f43a5480ccb..3b39915a192 100644 --- a/xchange-ftx/pom.xml +++ b/xchange-ftx/pom.xml @@ -6,7 +6,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-ftx diff --git a/xchange-gateio/pom.xml b/xchange-gateio/pom.xml index 1928d66b8aa..de990f1cd83 100644 --- a/xchange-gateio/pom.xml +++ b/xchange-gateio/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-gateio diff --git a/xchange-gemini/pom.xml b/xchange-gemini/pom.xml index 290df1e7006..8a40feece32 100644 --- a/xchange-gemini/pom.xml +++ b/xchange-gemini/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-gemini diff --git a/xchange-globitex/pom.xml b/xchange-globitex/pom.xml index 88fd7823cf1..8876d9e22b7 100644 --- a/xchange-globitex/pom.xml +++ b/xchange-globitex/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-globitex diff --git a/xchange-hitbtc/pom.xml b/xchange-hitbtc/pom.xml index 64032deed9d..4070e52480b 100644 --- a/xchange-hitbtc/pom.xml +++ b/xchange-hitbtc/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-hitbtc diff --git a/xchange-huobi/pom.xml b/xchange-huobi/pom.xml index 1ae45ec2b33..675693b5ea0 100644 --- a/xchange-huobi/pom.xml +++ b/xchange-huobi/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-huobi diff --git a/xchange-idex/pom.xml b/xchange-idex/pom.xml index 4887f52a1a3..cf0c38ece95 100644 --- a/xchange-idex/pom.xml +++ b/xchange-idex/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-idex diff --git a/xchange-independentreserve/pom.xml b/xchange-independentreserve/pom.xml index 3f96741b6b4..1e942765d1d 100644 --- a/xchange-independentreserve/pom.xml +++ b/xchange-independentreserve/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-independentreserve diff --git a/xchange-itbit/pom.xml b/xchange-itbit/pom.xml index b5cc9155e7e..caa120b7263 100644 --- a/xchange-itbit/pom.xml +++ b/xchange-itbit/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-itbit diff --git a/xchange-koineks/pom.xml b/xchange-koineks/pom.xml index 9a911b0a5bb..597b955a9db 100644 --- a/xchange-koineks/pom.xml +++ b/xchange-koineks/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-koinim/pom.xml b/xchange-koinim/pom.xml index ba740ede93c..9fc3d62262a 100644 --- a/xchange-koinim/pom.xml +++ b/xchange-koinim/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-kraken/pom.xml b/xchange-kraken/pom.xml index 6226fd4da86..80b6dbf38b3 100644 --- a/xchange-kraken/pom.xml +++ b/xchange-kraken/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-kraken diff --git a/xchange-krakenfutures/pom.xml b/xchange-krakenfutures/pom.xml index 45642ba9106..f4b5f9ae8e3 100644 --- a/xchange-krakenfutures/pom.xml +++ b/xchange-krakenfutures/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-krakenfutures diff --git a/xchange-kucoin/pom.xml b/xchange-kucoin/pom.xml index ecceb09366d..705c35adbda 100644 --- a/xchange-kucoin/pom.xml +++ b/xchange-kucoin/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-kucoin diff --git a/xchange-kuna/pom.xml b/xchange-kuna/pom.xml index 3ede8593f73..321736cd27f 100644 --- a/xchange-kuna/pom.xml +++ b/xchange-kuna/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-kuna diff --git a/xchange-latoken/pom.xml b/xchange-latoken/pom.xml index 8b721c0d1cc..66b9670e7e4 100644 --- a/xchange-latoken/pom.xml +++ b/xchange-latoken/pom.xml @@ -5,7 +5,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 xchange-latoken diff --git a/xchange-lgo/pom.xml b/xchange-lgo/pom.xml index da9fa637f6c..b4730269470 100644 --- a/xchange-lgo/pom.xml +++ b/xchange-lgo/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-lgo diff --git a/xchange-livecoin/pom.xml b/xchange-livecoin/pom.xml index 85ba7a6f3ac..4d5c47676be 100644 --- a/xchange-livecoin/pom.xml +++ b/xchange-livecoin/pom.xml @@ -3,7 +3,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-livecoin XChange Livecoin diff --git a/xchange-luno/pom.xml b/xchange-luno/pom.xml index 00cea4fe0e9..12422d8b080 100644 --- a/xchange-luno/pom.xml +++ b/xchange-luno/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-luno diff --git a/xchange-lykke/pom.xml b/xchange-lykke/pom.xml index 4859959f69d..f46d0d683ee 100644 --- a/xchange-lykke/pom.xml +++ b/xchange-lykke/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-mercadobitcoin/pom.xml b/xchange-mercadobitcoin/pom.xml index 824f5e4caee..eff4341777b 100644 --- a/xchange-mercadobitcoin/pom.xml +++ b/xchange-mercadobitcoin/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-mercadobitcoin diff --git a/xchange-mexc/pom.xml b/xchange-mexc/pom.xml index e7568e57adb..97fb4fffefe 100644 --- a/xchange-mexc/pom.xml +++ b/xchange-mexc/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-mexc diff --git a/xchange-okcoin/pom.xml b/xchange-okcoin/pom.xml index 0e29e86caff..4054a5504ae 100644 --- a/xchange-okcoin/pom.xml +++ b/xchange-okcoin/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-okcoin diff --git a/xchange-okex/pom.xml b/xchange-okex/pom.xml index 69591cdd832..e30a5b28cf4 100644 --- a/xchange-okex/pom.xml +++ b/xchange-okex/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-okex diff --git a/xchange-openexchangerates/pom.xml b/xchange-openexchangerates/pom.xml index a4aaab3f7c9..23c31e1c2ed 100644 --- a/xchange-openexchangerates/pom.xml +++ b/xchange-openexchangerates/pom.xml @@ -4,7 +4,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-openexchangerates diff --git a/xchange-paribu/pom.xml b/xchange-paribu/pom.xml index 9179fbdb08f..2ca7e57b31f 100644 --- a/xchange-paribu/pom.xml +++ b/xchange-paribu/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-paymium/pom.xml b/xchange-paymium/pom.xml index 8ef76b5c5b2..86c54ca2651 100644 --- a/xchange-paymium/pom.xml +++ b/xchange-paymium/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-paymium diff --git a/xchange-poloniex/pom.xml b/xchange-poloniex/pom.xml index 601c2ef03a9..d5f2389e454 100755 --- a/xchange-poloniex/pom.xml +++ b/xchange-poloniex/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-poloniex diff --git a/xchange-quoine/pom.xml b/xchange-quoine/pom.xml index 7bc194982f4..d699f2914f9 100644 --- a/xchange-quoine/pom.xml +++ b/xchange-quoine/pom.xml @@ -3,7 +3,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-quoine diff --git a/xchange-ripple/pom.xml b/xchange-ripple/pom.xml index 7b67968a907..14f57fc6030 100644 --- a/xchange-ripple/pom.xml +++ b/xchange-ripple/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-ripple diff --git a/xchange-serum/pom.xml b/xchange-serum/pom.xml index ee2f7461dc2..01925d9d8d6 100644 --- a/xchange-serum/pom.xml +++ b/xchange-serum/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-simulated/pom.xml b/xchange-simulated/pom.xml index 124d80226ab..324d4a7fabd 100644 --- a/xchange-simulated/pom.xml +++ b/xchange-simulated/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-simulated diff --git a/xchange-stream-bankera/pom.xml b/xchange-stream-bankera/pom.xml index 90d0099b8cf..26130b31692 100644 --- a/xchange-stream-bankera/pom.xml +++ b/xchange-stream-bankera/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Bankera Stream diff --git a/xchange-stream-binance/pom.xml b/xchange-stream-binance/pom.xml index 4001cbf1325..d36dbf381f4 100644 --- a/xchange-stream-binance/pom.xml +++ b/xchange-stream-binance/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Binance Stream diff --git a/xchange-stream-bitfinex/pom.xml b/xchange-stream-bitfinex/pom.xml index 59c241703a2..0068ce6fe9e 100644 --- a/xchange-stream-bitfinex/pom.xml +++ b/xchange-stream-bitfinex/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Bitfinex Stream diff --git a/xchange-stream-bitflyer/pom.xml b/xchange-stream-bitflyer/pom.xml index 3443a286cd8..8b1e51bf04b 100644 --- a/xchange-stream-bitflyer/pom.xml +++ b/xchange-stream-bitflyer/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Bitflyer Stream diff --git a/xchange-stream-bitmex/pom.xml b/xchange-stream-bitmex/pom.xml index 641aaa1e99a..769055011c1 100644 --- a/xchange-stream-bitmex/pom.xml +++ b/xchange-stream-bitmex/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Bitmex Stream diff --git a/xchange-stream-bitstamp/pom.xml b/xchange-stream-bitstamp/pom.xml index bc9c259eb34..6bbbdad5598 100644 --- a/xchange-stream-bitstamp/pom.xml +++ b/xchange-stream-bitstamp/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Bitstamp Stream diff --git a/xchange-stream-btcmarkets/pom.xml b/xchange-stream-btcmarkets/pom.xml index 96b476963e4..1bd75c1a87d 100644 --- a/xchange-stream-btcmarkets/pom.xml +++ b/xchange-stream-btcmarkets/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange BTCMarkets Stream diff --git a/xchange-stream-cexio/pom.xml b/xchange-stream-cexio/pom.xml index c28955bce28..8d98ae7aae6 100644 --- a/xchange-stream-cexio/pom.xml +++ b/xchange-stream-cexio/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Cex.io Stream diff --git a/xchange-stream-coinbasepro/pom.xml b/xchange-stream-coinbasepro/pom.xml index e5029770c0b..782b768dc3e 100644 --- a/xchange-stream-coinbasepro/pom.xml +++ b/xchange-stream-coinbasepro/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange CoinbasePro Stream diff --git a/xchange-stream-coincheck/pom.xml b/xchange-stream-coincheck/pom.xml index ae76de91004..c210e8b2f04 100644 --- a/xchange-stream-coincheck/pom.xml +++ b/xchange-stream-coincheck/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Coincheck Stream diff --git a/xchange-stream-coinjar/pom.xml b/xchange-stream-coinjar/pom.xml index 99ff66439b9..c8a16039ed3 100644 --- a/xchange-stream-coinjar/pom.xml +++ b/xchange-stream-coinjar/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Coinjar Stream diff --git a/xchange-stream-coinmate/pom.xml b/xchange-stream-coinmate/pom.xml index 9a2ec331dca..8806d7ab05b 100644 --- a/xchange-stream-coinmate/pom.xml +++ b/xchange-stream-coinmate/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Coinmate Stream diff --git a/xchange-stream-core/pom.xml b/xchange-stream-core/pom.xml index 15ef0656720..f922b24c166 100644 --- a/xchange-stream-core/pom.xml +++ b/xchange-stream-core/pom.xml @@ -3,7 +3,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-stream-dydx/pom.xml b/xchange-stream-dydx/pom.xml index 7e1ff9b5d82..6675ff166fe 100644 --- a/xchange-stream-dydx/pom.xml +++ b/xchange-stream-dydx/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-stream-ftx/pom.xml b/xchange-stream-ftx/pom.xml index 37be828f856..3257cfd0cda 100644 --- a/xchange-stream-ftx/pom.xml +++ b/xchange-stream-ftx/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Ftx Stream diff --git a/xchange-stream-gateio/pom.xml b/xchange-stream-gateio/pom.xml index 6e371eeaa46..5fbd8e93105 100644 --- a/xchange-stream-gateio/pom.xml +++ b/xchange-stream-gateio/pom.xml @@ -3,7 +3,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-stream-gemini-v2/pom.xml b/xchange-stream-gemini-v2/pom.xml index 60807d9bd91..d176db825b8 100644 --- a/xchange-stream-gemini-v2/pom.xml +++ b/xchange-stream-gemini-v2/pom.xml @@ -9,7 +9,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 diff --git a/xchange-stream-gemini/pom.xml b/xchange-stream-gemini/pom.xml index a30510fa247..11d70f8c737 100644 --- a/xchange-stream-gemini/pom.xml +++ b/xchange-stream-gemini/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Gemini Stream diff --git a/xchange-stream-hitbtc/pom.xml b/xchange-stream-hitbtc/pom.xml index da87f56c961..2dfee4b7a2c 100644 --- a/xchange-stream-hitbtc/pom.xml +++ b/xchange-stream-hitbtc/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Hitbtc Stream diff --git a/xchange-stream-huobi/pom.xml b/xchange-stream-huobi/pom.xml index ce1ff6adca7..15bf5e49f51 100644 --- a/xchange-stream-huobi/pom.xml +++ b/xchange-stream-huobi/pom.xml @@ -3,7 +3,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 4.0.0 diff --git a/xchange-stream-kraken/pom.xml b/xchange-stream-kraken/pom.xml index 4830d4b6f80..7e85c1fc85e 100644 --- a/xchange-stream-kraken/pom.xml +++ b/xchange-stream-kraken/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Kraken Stream diff --git a/xchange-stream-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenStreamingService.java b/xchange-stream-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenStreamingService.java index 741dcb8a206..10769956711 100644 --- a/xchange-stream-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenStreamingService.java +++ b/xchange-stream-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenStreamingService.java @@ -92,6 +92,7 @@ private static RateLimiter initRateLimiter(KrakenStreamingExchange exchange) { .getExchangeSpecification() .getExchangeSpecificParametersItem(WEBSOCKET_REQUESTS_PER_SECOND); if (requestsPerSecond != null) { + LOG.info("RateLimiter enabled with {} requests/seconds", requestsPerSecond); // N messages per second rateLimiter = RateLimiter.of( @@ -171,7 +172,7 @@ protected void handleMessage(JsonNode message) { Integer channelId = statusMessage.getChannelID(); switch (statusMessage.getStatus()) { case subscribed: - LOG.info("Channel name={}, id={} has been subscribed", channelName, channelId); + LOG.debug("Channel name={}, id={} has been subscribed", channelName, channelId); if (channelId != null) { channels.put(channelId, channelName); @@ -179,7 +180,7 @@ protected void handleMessage(JsonNode message) { break; case unsubscribed: - LOG.info("Channel name={}, id={} has been unsubscribed", channelName, channelId); + LOG.debug("Channel name={}, id={} has been unsubscribed", channelName, channelId); channels.remove(channelId); break; case error: diff --git a/xchange-stream-krakenfutures/pom.xml b/xchange-stream-krakenfutures/pom.xml index 97a27cf0cc0..7f7d9c055ae 100644 --- a/xchange-stream-krakenfutures/pom.xml +++ b/xchange-stream-krakenfutures/pom.xml @@ -4,7 +4,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-stream-krakenfutures diff --git a/xchange-stream-kucoin/pom.xml b/xchange-stream-kucoin/pom.xml index c471c56014a..62264d2780b 100644 --- a/xchange-stream-kucoin/pom.xml +++ b/xchange-stream-kucoin/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Kucoin Stream diff --git a/xchange-stream-lgo/pom.xml b/xchange-stream-lgo/pom.xml index 736d4b2203f..97b13b4b38e 100644 --- a/xchange-stream-lgo/pom.xml +++ b/xchange-stream-lgo/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange LGO Stream diff --git a/xchange-stream-okcoin/pom.xml b/xchange-stream-okcoin/pom.xml index fad3da913b5..db53b36fc93 100644 --- a/xchange-stream-okcoin/pom.xml +++ b/xchange-stream-okcoin/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange OKCoin Stream diff --git a/xchange-stream-okex/pom.xml b/xchange-stream-okex/pom.xml index 11ba2b3296b..066ed599050 100644 --- a/xchange-stream-okex/pom.xml +++ b/xchange-stream-okex/pom.xml @@ -6,7 +6,7 @@ xchange-parent net.osslabz - 5.1.2.2 + 5.1.2.4 XChange Okex Stream diff --git a/xchange-stream-poloniex2/pom.xml b/xchange-stream-poloniex2/pom.xml index fe7cb04c806..fd6ba7d2ae3 100644 --- a/xchange-stream-poloniex2/pom.xml +++ b/xchange-stream-poloniex2/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Poloniex 2 Stream diff --git a/xchange-stream-serum/pom.xml b/xchange-stream-serum/pom.xml index d67dbd9270d..ee020a66e2c 100644 --- a/xchange-stream-serum/pom.xml +++ b/xchange-stream-serum/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Serum Stream diff --git a/xchange-stream-service-core/pom.xml b/xchange-stream-service-core/pom.xml index 4309e98fa01..596d091cd55 100644 --- a/xchange-stream-service-core/pom.xml +++ b/xchange-stream-service-core/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Core Stream Service diff --git a/xchange-stream-service-netty/pom.xml b/xchange-stream-service-netty/pom.xml index c9572b217e8..ba75a1bfb85 100644 --- a/xchange-stream-service-netty/pom.xml +++ b/xchange-stream-service-netty/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Core Stream Netty diff --git a/xchange-stream-service-netty/src/main/java/info/bitrich/xchangestream/service/netty/WebSocketClientHandler.java b/xchange-stream-service-netty/src/main/java/info/bitrich/xchangestream/service/netty/WebSocketClientHandler.java index 156d03d81ce..3315d6aa06c 100644 --- a/xchange-stream-service-netty/src/main/java/info/bitrich/xchangestream/service/netty/WebSocketClientHandler.java +++ b/xchange-stream-service-netty/src/main/java/info/bitrich/xchangestream/service/netty/WebSocketClientHandler.java @@ -15,14 +15,18 @@ import io.netty.handler.codec.http.websocketx.WebSocketFrame; import io.netty.handler.codec.http.websocketx.WebSocketHandshakeException; import io.netty.util.CharsetUtil; +import java.net.SocketException; +import java.util.Objects; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class WebSocketClientHandler extends SimpleChannelInboundHandler { + private static final Logger LOG = LoggerFactory.getLogger(WebSocketClientHandler.class); private final StringBuilder currentMessage = new StringBuilder(); public interface WebSocketMessageHandler { + public void onMessage(String message); } @@ -114,15 +118,25 @@ private void dealWithContinuation(ContinuationWebSocketFrame frame) { @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) { - LOG.error( - "WebSocket client {} encountered exception ({} - {}). Closing", - ctx.channel(), - cause.getClass().getSimpleName(), - cause.getMessage(), - cause); + + if (Objects.equals(SocketException.class, cause.getClass()) + && "Connection reset".equalsIgnoreCase(cause.getMessage())) { + LOG.error( + "WebSocket client {} encountered exception ({} - {}). Closing", + ctx.channel(), + cause.getClass().getSimpleName(), + cause.getMessage()); + } else { + LOG.error( + "WebSocket client {} encountered exception ({} - {}). Closing", + ctx.channel(), + cause.getClass().getSimpleName(), + cause.getMessage(), + cause); + } if (!handshakeFuture.isDone()) { handshakeFuture.setFailure(cause); } ctx.close(); } -} +} \ No newline at end of file diff --git a/xchange-stream-service-pubnub/pom.xml b/xchange-stream-service-pubnub/pom.xml index bbdc962dbb3..ac05d04100a 100644 --- a/xchange-stream-service-pubnub/pom.xml +++ b/xchange-stream-service-pubnub/pom.xml @@ -6,7 +6,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 XChange Core Stream Pubnub diff --git a/xchange-therock/pom.xml b/xchange-therock/pom.xml index e264384cc96..661b13e539b 100644 --- a/xchange-therock/pom.xml +++ b/xchange-therock/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-therock diff --git a/xchange-tradeogre/pom.xml b/xchange-tradeogre/pom.xml index 9777826a2d5..527c6afd7de 100644 --- a/xchange-tradeogre/pom.xml +++ b/xchange-tradeogre/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-tradeogre diff --git a/xchange-truefx/pom.xml b/xchange-truefx/pom.xml index aca4213f011..267a6e33b2c 100644 --- a/xchange-truefx/pom.xml +++ b/xchange-truefx/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-truefx diff --git a/xchange-upbit/pom.xml b/xchange-upbit/pom.xml index 23fd6761ea7..7fee769d06a 100644 --- a/xchange-upbit/pom.xml +++ b/xchange-upbit/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-upbit diff --git a/xchange-vaultoro/pom.xml b/xchange-vaultoro/pom.xml index f7bb841f9ae..ea7b4d5df3d 100644 --- a/xchange-vaultoro/pom.xml +++ b/xchange-vaultoro/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-vaultoro diff --git a/xchange-yobit/pom.xml b/xchange-yobit/pom.xml index ef3339820b4..4572444073b 100644 --- a/xchange-yobit/pom.xml +++ b/xchange-yobit/pom.xml @@ -3,7 +3,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-yobit XChange YoBit diff --git a/xchange-zaif/pom.xml b/xchange-zaif/pom.xml index 8d65cc067c8..6171a28575e 100644 --- a/xchange-zaif/pom.xml +++ b/xchange-zaif/pom.xml @@ -5,7 +5,7 @@ net.osslabz xchange-parent - 5.1.2.2 + 5.1.2.4 xchange-zaif