Skip to content

Commit

Permalink
Fix wrong return bus message type
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed Jan 11, 2016
1 parent 60255c7 commit eae461c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* A bus message used to receive data for the alerts subsystem.
* One message can store a collection of {@link org.hawkular.alerts.bus.messages.AlertData}.
* One message can store a collection of {@link org.hawkular.alerts.api.model.data.Data}.
*
* @author Jay Shaughnessy
* @author Lucas Ponce
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected void onBasicMessage(AvailDataMessage msg) {
protected String convertReceivedMessageClassNameToDesiredMessageClassName(String className) {

if (className.equals("org.hawkular.metrics.component.publish.AvailDataMessage")) {
return "org.hawkular.alerts.bus.messages.AvailDataMessage";
return "org.hawkular.alerts.bus.api.AvailDataMessage";
}

return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected void onBasicMessage(MetricDataMessage msg) {
protected String convertReceivedMessageClassNameToDesiredMessageClassName(String className) {

if (className.equals("org.hawkular.metrics.component.publish.MetricDataMessage")) {
return "org.hawkular.alerts.bus.messages.MetricDataMessage";
return "org.hawkular.alerts.bus.api.MetricDataMessage";
}

return null;
Expand Down

0 comments on commit eae461c

Please sign in to comment.