Skip to content

Commit 2d90271

Browse files
committed
fix code merge problem
1 parent d883538 commit 2d90271

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/boot/EventMeshHTTPServer.java

+12
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@
3838
import org.apache.eventmesh.runtime.core.protocol.http.processor.HeartBeatProcessor;
3939
import org.apache.eventmesh.runtime.core.protocol.http.processor.LocalSubscribeEventProcessor;
4040
import org.apache.eventmesh.runtime.core.protocol.http.processor.LocalUnSubscribeEventProcessor;
41+
import org.apache.eventmesh.runtime.core.protocol.http.processor.RemoteSubscribeEventProcessor;
42+
import org.apache.eventmesh.runtime.core.protocol.http.processor.RemoteUnSubscribeEventProcessor;
4143
import org.apache.eventmesh.runtime.core.protocol.http.processor.ReplyMessageProcessor;
4244
import org.apache.eventmesh.runtime.core.protocol.http.processor.SendAsyncEventProcessor;
4345
import org.apache.eventmesh.runtime.core.protocol.http.processor.SendAsyncMessageProcessor;
46+
import org.apache.eventmesh.runtime.core.protocol.http.processor.SendAsyncRemoteEventProcessor;
4447
import org.apache.eventmesh.runtime.core.protocol.http.processor.SendSyncMessageProcessor;
4548
import org.apache.eventmesh.runtime.core.protocol.http.processor.SubscribeProcessor;
4649
import org.apache.eventmesh.runtime.core.protocol.http.processor.UnSubscribeProcessor;
@@ -342,6 +345,9 @@ public void registerHTTPRequestProcessor() {
342345
SendAsyncEventProcessor sendAsyncEventProcessor = new SendAsyncEventProcessor(this);
343346
registerProcessor(RequestURI.PUBLISH.getRequestURI(), sendAsyncEventProcessor, sendMsgExecutor);
344347

348+
SendAsyncRemoteEventProcessor sendAsyncRemoteEventProcessor = new SendAsyncRemoteEventProcessor(this);
349+
registerProcessor(RequestURI.PUBLISH_BRIDGE.getRequestURI(), sendAsyncRemoteEventProcessor, remoteMsgExecutor);
350+
345351
AdminMetricsProcessor adminMetricsProcessor = new AdminMetricsProcessor(this);
346352
registerProcessor(RequestCode.ADMIN_METRICS.getRequestCode(), adminMetricsProcessor, adminExecutor);
347353

@@ -354,12 +360,18 @@ public void registerHTTPRequestProcessor() {
354360
LocalSubscribeEventProcessor localSubscribeEventProcessor = new LocalSubscribeEventProcessor(this);
355361
registerProcessor(RequestURI.SUBSCRIBE_LOCAL.getRequestURI(), localSubscribeEventProcessor, clientManageExecutor);
356362

363+
RemoteSubscribeEventProcessor remoteSubscribeEventProcessor = new RemoteSubscribeEventProcessor(this);
364+
registerProcessor(RequestURI.SUBSCRIBE_REMOTE.getRequestURI(), remoteSubscribeEventProcessor, clientManageExecutor);
365+
357366
UnSubscribeProcessor unSubscribeProcessor = new UnSubscribeProcessor(this);
358367
registerProcessor(RequestCode.UNSUBSCRIBE.getRequestCode(), unSubscribeProcessor, clientManageExecutor);
359368

360369
LocalUnSubscribeEventProcessor localUnSubscribeEventProcessor = new LocalUnSubscribeEventProcessor(this);
361370
registerProcessor(RequestURI.UNSUBSCRIBE_LOCAL.getRequestURI(), localUnSubscribeEventProcessor, clientManageExecutor);
362371

372+
RemoteUnSubscribeEventProcessor remoteUnSubscribeEventProcessor = new RemoteUnSubscribeEventProcessor(this);
373+
registerProcessor(RequestURI.UNSUBSCRIBE_REMOTE.getRequestURI(), remoteUnSubscribeEventProcessor, clientManageExecutor);
374+
363375
ReplyMessageProcessor replyMessageProcessor = new ReplyMessageProcessor(this);
364376
registerProcessor(RequestCode.REPLY_MESSAGE.getRequestCode(), replyMessageProcessor, replyMsgExecutor);
365377
}

0 commit comments

Comments
 (0)