public class DefaultMessageHistoryService extends Object implements org.mule.tooling.client.api.message.history.MessageHistoryService, Command
MessageHistoryService.| Modifier | Constructor and Description |
|---|---|
protected |
DefaultMessageHistoryService(org.mule.runtime.api.util.LazyValue<RuntimeToolingService> runtimeToolingServiceLazyValue,
org.mule.tooling.client.internal.serialization.Serializer serializer)
Creates a default instance of the service.
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.tooling.client.api.message.history.MessageHistory |
consume(String applicationName,
int chunkSize) |
void |
disable(String applicationName) |
void |
enable(String applicationName) |
Object |
invokeMethod(String methodName,
String[] classes,
String[] arguments)
Dispatcher that calls the method on this object by the given name and arguments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFeatureEnabled, methodNotFound, notMatchingMethodprotected DefaultMessageHistoryService(org.mule.runtime.api.util.LazyValue<RuntimeToolingService> runtimeToolingServiceLazyValue, org.mule.tooling.client.internal.serialization.Serializer serializer)
runtimeToolingServiceLazyValue - LazyValue for RuntimeToolingService.public void enable(String applicationName)
enable in interface org.mule.tooling.client.api.message.history.MessageHistoryServicepublic org.mule.tooling.client.api.message.history.MessageHistory consume(String applicationName, int chunkSize)
consume in interface org.mule.tooling.client.api.message.history.MessageHistoryServicepublic void disable(String applicationName)
disable in interface org.mule.tooling.client.api.message.history.MessageHistoryServicepublic Object invokeMethod(String methodName, String[] classes, String[] arguments)
CommandinvokeMethod in interface CommandmethodName - the name of the method to be invoked.classes - array of class names for arguments.arguments - array of arguments serialized as JSON.Object, in case of a service method invocation it will return the DTO serialized to JSON or the instance
in case of a service instance.Copyright © 2019 MuleSoft, Inc.. All rights reserved.