Hi,I am trying to set CamelSmppOptionalParameter for
OptionalParameter.Tag.MESSAGE_PAYLOAD and failed to submit due to following
error: java.lang.ClassCastException: java.lang.Short cannot be cast to
java.lang.String My piece of code is as: Map<Short,Object> tlvMp=new
HashMap<Short, Object>(0); tlvMp.put(Tag.MESSAGE_PAYLOAD.code(), "long
message content"); msg.setObjectProperty("CamelSmppOptionalParameter",
tlvMp); Kindly guide me in setting camel header correctly.I am using AMQ
v5.9-- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-CamelSmppOptionalParameter-in-headers-of-producer-to-submit-message-with-Message-Payload-V-tp5773935.html Sent from the Camel - Users mailing list archive at Nabble.com.
