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

Claus Ibsen commented on CAMEL-3475:
------------------------------------

Good idea Jaco. Do you can to work on a patch?

Also if there is a specialized SmppMessage, you can add methods like

isSms
isNotification
isAlert

On the SmppMessage if that helps as well.

But having headers on the message helps with content based router and Camel in 
general as its easy to use in the routing DSL.

> Idenitify incoming message type in camel-smpp consumer
> ------------------------------------------------------
>
>                 Key: CAMEL-3475
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3475
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>            Reporter: Jaco van Tonder
>             Fix For: 2.6.0
>
>
> We need a way to identify an incoming message type from a camel-smpp consumer.
> Currently there is no clear indication if the incoming message is SMS, a 
> delivery notification or an alert notification, as all these messages are 
> converted to a camel SmppMessage.
> We could add an additional header to the exchange to identify the message 
> type, or add an attribute to SmppMessage?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to