camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioannis Alexandrakis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6117) Allow empty service_type and system_type
Date Wed, 27 Mar 2013 15:43:17 GMT

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

Ioannis Alexandrakis commented on CAMEL-6117:
---------------------------------------------

Ooops sorry, I guess I forgot it. It was just the line in SmppConfiguration.java
(I guess that, for backwards compatibility as you specified, the following, which I resorted
to, is not acceptable. However, I just did the following, so attaching the patch right now
would be useless..)

-
private String serviceType = "CMT";

+
private String serviceType = "";
                
> Allow empty service_type and system_type
> ----------------------------------------
>
>                 Key: CAMEL-6117
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6117
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>            Reporter: Ioannis Alexandrakis
>            Assignee: Christian Müller
>              Labels: empty, service_type, smpp
>             Fix For: 2.11.1
>
>
> Hello all,
> At some point I had to connect to an SMSC, which did not accept any service_type. It
just wanted it to be empty. Otherwise I was getting "invalid service type" error. I was not
able to set it as 'empty', so I commented out the default "CMT" service type value and worked
like a charm. If I wanted to set it, I could do it in the uri or the exchange's header. But
I wasn't able to put empty in any of those ways.
> Whoever has it on default would have to explicitly set it though (either on the uri,
or on the exchange header)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message