Skip to main content
Solved

JMS message - valid json but containing an unescaped right brace, job fails to submit

  • Jan 21, 2025 8:10 PM UTC
  • 1 reply
  • 59 views

ebygomm
Evangelist
Forum|alt.badge.img+54

An automation reads a message from a JMS queue and should trigger a workspace, the message content is passed as an automation parameter. This message is valid json, however we’ve had some cases where the message is something along the lines of

{
"ID": "1234",
"Notes": "Careless typing} includes a right hand curly brace"
}

This is valid json but the job fails with a status of FME_FAILURE and a statusMessage of  "extra characters after close-brace".

 

How should the message be passed to the workspace if json like the above example leads to failure to submit? 

Best answer by ebygomm

It looks like an upgrade to 2024 fixes this issue. 

View original

1 reply

ebygomm
Evangelist
Forum|alt.badge.img+54
  • Author
  • Evangelist
  • Best Answer
  • Jan 24, 2025 10:06 AM UTC

It looks like an upgrade to 2024 fixes this issue.