Class AbstractEventProcessor
- java.lang.Object
-
- org.apache.eventmesh.runtime.core.protocol.http.processor.inf.AbstractEventProcessor
-
- Direct Known Subclasses:
LocalSubscribeEventProcessor,LocalUnSubscribeEventProcessor,RemoteSubscribeEventProcessor,RemoteUnSubscribeEventProcessor
public class AbstractEventProcessor extends java.lang.ObjectEventProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected EventMeshHTTPServereventMeshHTTPServer
-
Constructor Summary
Constructors Constructor Description AbstractEventProcessor(EventMeshHTTPServer eventMeshHTTPServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetTargetMesh(java.lang.String consumerGroup, java.util.List<org.apache.eventmesh.common.protocol.SubscriptionItem> subscriptionList)protected voidupdateMetadata()Add a topic with subscribers to the service's metadata.
-
-
-
Field Detail
-
eventMeshHTTPServer
protected EventMeshHTTPServer eventMeshHTTPServer
-
-
Constructor Detail
-
AbstractEventProcessor
public AbstractEventProcessor(EventMeshHTTPServer eventMeshHTTPServer)
-
-
Method Detail
-
updateMetadata
protected void updateMetadata()
Add a topic with subscribers to the service's metadata.
-
getTargetMesh
protected java.lang.String getTargetMesh(java.lang.String consumerGroup, java.util.List<org.apache.eventmesh.common.protocol.SubscriptionItem> subscriptionList) throws java.lang.Exception- Throws:
java.lang.Exception
-
-