camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henryk Konsek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-7435) Create a generic callback to configure the APNS service builder
Date Tue, 13 May 2014 06:54:14 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-7435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henryk Konsek updated CAMEL-7435:
---------------------------------

    Summary: Create a generic callback to configure the APNS service builder  (was: Create
a generic callback to configure the APNS service)

> Create a generic callback to configure the APNS service builder
> ---------------------------------------------------------------
>
>                 Key: CAMEL-7435
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7435
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-apns
>            Reporter: Henryk Konsek
>            Assignee: Henryk Konsek
>             Fix For: 2.14.0
>
>
> We should add an empty callback method to {{ApnsServiceFactory}} that could be used to
configure (or even replace) the default {{ApnsService}} instance.
> Signature of the method could look as follows: 
> {code}
> protected ApnsServiceBuilder configureServiceBuilder(ApnsServiceBuilder serviceBuilder)
> {code}
> And could be used like:
> {code}
> ApnsServiceFactory proxiedApnsServiceFactory = new ApnsServiceFactory(){
>     @Override
>     protected ApnsServiceBuilder configureServiceBuilder(ApnsServiceBuilder serviceBuilder)
{
>         return serviceBuilder.withSocksProxy("my.proxy.com", 6666);
>     }
> };
> {code}



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

Mime
View raw message