[ 
https://issues.apache.org/jira/browse/CAMEL-7225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982290#comment-13982290
 ] 

Ashutosh Agarwal commented on CAMEL-7225:
-----------------------------------------

I have made some changes, as per Daniel Sir's advice.
-- Added log message if encoding is unsupported.
-- Added checking of encoding in configuration when it is being set.

In line SmppMessage.java:88 --> do I need to remove it. It looks like it could 
trigger some bugs.

> camel-smpp - should check Exchange.CHARSET_NAME header
> ------------------------------------------------------
>
>                 Key: CAMEL-7225
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7225
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>    Affects Versions: 2.12.2
>         Environment: any
>            Reporter: Daniel Pocock
>            Priority: Minor
>             Fix For: Future
>
>
> The camel-smpp component should check the Exchange.CHARSET_NAME header of 
> each message to determine the actual encoding of byte[] messages
> It appears that it currently expects all byte[] messages to be encoded in the 
> character set specified by the "encoding" property on the endpoint



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to