kegaretail / react-native-rabbitmq

29 stars 56 forks source link

ios怎么关闭恢复channel #6

Open myueNL opened 6 years ago

myueNL commented 6 years ago

我这里有个switch开关,关闭后会调用connection.close断开和消息服务器的链接,但每次打开都会恢复之前关闭的channel,也就是channel数量一直会增加,在android端可以通过this.factory.setAutomaticRecoveryEnabled和this.factory.setTopologyRecoveryEnabled设置为false解决,但ios端没有相关配置,设置最大channel数也解决不了

timhonders commented 6 years ago

?

myueNL commented 6 years ago

We have a ConnectionFactory In Android and we can set AutomaticRecoveryEnabled to false, but I can't find the same config in ios, how can I do that?