Skip to content

Commit

Permalink
[ISSUE apache#4236] TCP reconnection failed
Browse files Browse the repository at this point in the history
(cherry picked from commit c25f320)
  • Loading branch information
yiqf committed Jul 19, 2023
1 parent cc43dee commit 41f9b7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.eventmesh.client.tcp.impl.cloudevent;

import io.netty.channel.ChannelHandler.Sharable;
import org.apache.eventmesh.client.tcp.EventMeshTCPPubClient;
import org.apache.eventmesh.client.tcp.common.AsyncRRCallback;
import org.apache.eventmesh.client.tcp.common.MessageUtils;
Expand Down Expand Up @@ -138,6 +139,7 @@ public void close() {
}
}

@Sharable
private class CloudEventTCPPubHandler extends AbstractEventMeshTCPPubHandler<CloudEvent> {

public CloudEventTCPPubHandler(ConcurrentHashMap<Object, RequestContext> contexts) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.eventmesh.client.tcp.impl.cloudevent;

import io.netty.channel.ChannelHandler.Sharable;
import org.apache.eventmesh.client.tcp.EventMeshTCPSubClient;
import org.apache.eventmesh.client.tcp.common.EventMeshCommon;
import org.apache.eventmesh.client.tcp.common.MessageUtils;
Expand Down Expand Up @@ -141,6 +142,7 @@ public void close() {
}
}

@Sharable
private class CloudEventTCPSubHandler extends AbstractEventMeshTCPSubHandler<CloudEvent> {

public CloudEventTCPSubHandler(
Expand Down

0 comments on commit 41f9b7d

Please sign in to comment.