Skip to content

Commit

Permalink
TEMPO message handler patch (#1192)
Browse files Browse the repository at this point in the history
Signed-off-by: Angelica Ochoa <[email protected]>
  • Loading branch information
ao508 authored Jun 18, 2024
1 parent 55df0c0 commit 9af4591
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ private void setupBamCompleteHandler(Gateway gateway,
@Override
public void onMessage(Message msg, Object message) {
try {
String bamCompleteJson = mapper.readValue(
String bamCompleteJson = mapper.convertValue(
new String(msg.getData(), StandardCharsets.UTF_8),
String.class);
Map<String, String> bamCompleteMap = mapper.readValue(bamCompleteJson, Map.class);
Expand Down Expand Up @@ -516,7 +516,7 @@ private void setupQcCompleteHandler(Gateway gateway,
@Override
public void onMessage(Message msg, Object message) {
try {
String qcCompleteJson = mapper.readValue(
String qcCompleteJson = mapper.convertValue(
new String(msg.getData(), StandardCharsets.UTF_8),
String.class);
Map<String, String> qcCompleteMap = mapper.readValue(qcCompleteJson, Map.class);
Expand Down Expand Up @@ -545,7 +545,7 @@ private void setupMafCompleteHandler(Gateway gateway,
@Override
public void onMessage(Message msg, Object message) {
try {
String mafCompleteJson = mapper.readValue(
String mafCompleteJson = mapper.convertValue(
new String(msg.getData(), StandardCharsets.UTF_8),
String.class);
Map<String, String> mafCompleteMap = mapper.readValue(mafCompleteJson, Map.class);
Expand Down Expand Up @@ -576,7 +576,7 @@ private void setupCohortCompleteHandler(Gateway gateway,
@Override
public void onMessage(Message msg, Object message) {
try {
String cohortCompleteJson = mapper.readValue(
String cohortCompleteJson = mapper.convertValue(
new String(msg.getData(), StandardCharsets.UTF_8),
String.class);
CohortCompleteJson cohortCompleteData = mapper.readValue(cohortCompleteJson,
Expand All @@ -596,7 +596,7 @@ private void setupSampleBillingHandler(Gateway gateway,
@Override
public void onMessage(Message msg, Object message) {
try {
String billingJson = mapper.readValue(
String billingJson = mapper.convertValue(
new String(msg.getData(), StandardCharsets.UTF_8),
String.class);
SampleBillingJson billing = mapper.readValue(billingJson,
Expand Down

0 comments on commit 9af4591

Please sign in to comment.