This is an automated email from the ASF dual-hosted git repository.
cschneider pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal-messages.git
The following commit(s) were added to refs/heads/master by this push:
new 37a0402 SLING-9628 - Add LogMessage
37a0402 is described below
commit 37a040253c15d97de1f4f82e7842041de5233313
Author: Christian Schneider <[email protected]>
AuthorDate: Tue Aug 4 16:40:13 2020 +0200
SLING-9628 - Add LogMessage
---
.../distribution/journal/messages/LogMessage.java | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git
a/src/main/java/org/apache/sling/distribution/journal/messages/LogMessage.java
b/src/main/java/org/apache/sling/distribution/journal/messages/LogMessage.java
new file mode 100644
index 0000000..49559f8
--- /dev/null
+++
b/src/main/java/org/apache/sling/distribution/journal/messages/LogMessage.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.sling.distribution.journal.messages;
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class LogMessage {
+
+ // Subscriber agent Sling identifier
+ String subSlingId;
+
+ // Subscriber agent name
+ String subAgentName;
+
+ String message;
+
+ String stacktrace;
+}