fix event message
This commit is contained in:
parent
c396f23e9d
commit
89bd50dda7
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
package com.sap.tamagotchi.model;
|
package com.sap.tamagotchi.model;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
public class DefunctNotification implements IoTMessage {
|
public class DefunctNotification implements IoTMessage {
|
||||||
|
@ -11,6 +12,7 @@ public class DefunctNotification implements IoTMessage {
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@JsonIgnore
|
||||||
@Override
|
@Override
|
||||||
public String getTopic() {
|
public String getTopic() {
|
||||||
return "tamagotchi-defunct";
|
return "tamagotchi-defunct";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue