SolaceProducts / pubsubplus-connector-mule-docs

Documentation and Examples for Solace PubSub+ MuleSoft Connector
Apache License 2.0
4 stars 4 forks source link

Production : Solace PubSub+ connector version 1.3.0 Connector Issue #9

Open teredpus opened 1 year ago

teredpus commented 1 year ago

Valid Json is published to solace using MuleSoft Solace PubSub+ connector version 1.3.0 but in subscribing API we are facing empty input error. The error seems to be intermittent and could see successful transactions for same operation.

Have attached the Worker logs . PFB error trace :

17:18:01.063 07/19/2023 Worker-1 [MuleRuntime].uber.51: [mw-d2c-commercetools-sys-pr].imageStateChange.CPU_LITE @3084679d ERROR event:1ce844d0-262a-11ee-b08f-0e8695b41541


Message : "org.mule.weave.v2.module.reader.ReaderParsingException: Unable to parse empty input, while reading payload as Json.

1| ^ " evaluating expression: "payload.orderNumber". Element : imageStateChange/processors/1 @ mw-d2c-commercetools-sys-pr:mw-d2c-commercetools-sys.xml:72 (Request received) Element DSL : Error type : MULE:EXPRESSION FlowStack : at imageStateChange(imageStateChange/processors/1 @ mw-d2c-commercetools-sys-pr:mw-d2c-commercetools-sys.xml:72 (Request received)) Payload Type : java.lang.String

Root Exception stack trace: org.mule.runtime.api.el.ExpressionExecutionException: org.mule.weave.v2.module.reader.ReaderParsingException: Unable to parse empty input, while reading payload as Json.

teredpus commented 1 year ago

We tried enabling debug logs and could notice that payload is getting emptied in publish connector "attLen=3"

11:42:43.119 08/09/2023 Worker-0 [MuleRuntime].uber.6463: [common-marspulse-product-sys-pr].marspulse-onetrust-implementationSub_Flow.CPU_LITE @6bc9ccce DEBUG Client-6: [7247cfb6-6944-4590-a015-12784b97a560[common-marspulse-product-sys-cu@tcps://marsglbprod.internal-messaging.effem.com] (0006)] Want to send: com.solacesystems.jcsmp.impl.JCSMPGenericXMLMessage[messageId=2915608,ackMessageId=0,prevId=2915607,CID_count=0,userData=,type=PERSISTENT,priority=4,redelivered=false,timeToLive=0,expiration=0,dmqEligible=true,topicSeqNum=null,metadataLen=0,contentLen=0,attLen=3,sendAttemptedOnce=false,ackImmediately=false,safeToRelease=false,retransmitting=false,sendCount=0@2678dee0]