Justin Heesemann created CAMEL-8240:
---------------------------------------
Summary: camel-apns should allow custom expiration times so that
users get fine grained expiration control for mobile push messages
Key: CAMEL-8240
URL: https://issues.apache.org/jira/browse/CAMEL-8240
Project: Camel
Issue Type: New Feature
Components: camel-apns
Affects Versions: 2.14.1
Reporter: Justin Heesemann
Priority: Minor
Currently it is not possible to send apns messages with a user defined
expiration date.
This affects both STRING and PAYLOAD message types.
The org.apache.camel.component.apns.ApnsProducer calls the
ApnsService.push(Collection<String> deviceTokens, String payload) throws
NetworkIOException;
method which uses a EnhancedApnsNotification.MAXIMUM_EXPIRY (somewhen in 2038).
A possible solution would allow the usage of a new ApnsConstants.HEADER_EXPIRY
message header where users could store the wanted expiration time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)