Skip to content

JMS Source connect: Send message without any conversion #4

@sarathjags

Description

@sarathjags

We are using SourceConnector to consume JMS messages from TIBCO and send it to Azure. But our requirement is not to convert/transform the consumed messages and need to send as it is. Is there a way to disable the StandardJmsConverter or without transformation ? Even in the transformation it's missing headers

Actual JMS Message :
MapMessage={ Header={
JMSMessageID={ID:162AF5F7F8623388B0:6}
JMSDestination={Queue[TestQueue]}
JMSReplyTo={null}
JMSDeliveryMode={PERSISTENT}
JMSRedelivered={false}
JMSCorrelationID={null}
JMSType={null}
JMSTimestamp={Tue Feb 02 22:05:58 GMT 2021}
JMSDeliveryTime={Tue Feb 02 22:05:58 GMT 2021}
JMSExpiration={0} JMSPriority={4} }
Properties={
JMSXDeliveryCount={Integer:1}
JMS_TIBCO_COMPRESS={Boolean:true}
JMS_TIBCO_PRESERVE_UNDELIVERED={Boolean:true}
}
Fields={
Zip={String:333}
EmpNbr={String:333}
EmpLocation={String:test33 }

Converted Message:

{"type":"queue","name":""},
"replyTo":null,
"priority":4,
"expiration":0,
"timestamp":1612279869637,
"redelivered":false,
"properties":{"JMSXDeliveryCount":{"type":"integer","boolean":null,"byte":null,"short":null,"integer":1,"long":null,"float":null,"double":null,"string":null},
"JMS_TIBCO_COMPRESS":{"type":"boolean","boolean":true,"byte":null,"short":null,"integer":null,"long":null,"float":null,"double":null,"string":null},
"JMS_TIBCO_PRESERVE_UNDELIVERED":{"type":"boolean","boolean":true,"byte":null,"short":null,"integer":null,"long":null,"float":null,"double":null,"string":null}},
"payloadText":null,
"payloadMap":
{
"Zip":{"type":"string","boolean":null,"byte":null,"short":null,"integer":null,"long":null,"float":null,"double":null,"string":"1"},
"EmpNbr":{"type":"string","boolean":null,"byte":null,"short":null,"integer":null,"long":null,"float":null,"double":null,"string":"1"},
"EmpLocation":{"type":"string","boolean":null,"byte":null,"short":null,"integer":null,"long":null,"float":null,"double":null,"string":"test "},
"Name":{"type":"string","boolean":null,"byte":null,"short":null,"integer":null,"long":null,"float":null,"double":null,"string":"Sarath ens 55"}
},
"payloadBytes":null
}

Appreciate your inputs and thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions