Comments (17)
I'm confused.
You have 1 java app, that sends notification for several iPhone apps? (each of
which has it's own certificate etc...)
If this is the case, then the only thing I can see is reset the javapns
instance when you want to switch certificates.
What do you mean by 'maintain connections' ? In theory you open a connection,
send your notices, close your
connection, repeat...
Original comment by [email protected]
on 21 May 2010 at 3:34
from javapns.
Take a scenario i have two list. One list is associated with one application.
Second
list associated with another application. I will run two threads at the same
time
once i open the connection for the first list, i want to keep open the
connection
till i complete all the messages in the first list.(because apple is not
recommending to open/close connections very often). when i process the first
list,
another thread start processing the second list which will reset the connection
with
second application since the pushnotification manager is a singleton class.
How do i proceed with javapns in such requirement?
Original comment by [email protected]
on 31 May 2010 at 5:34
from javapns.
basically javapns has to provide support for multiple applications.
Original comment by [email protected]
on 3 Jun 2010 at 7:34
from javapns.
Would changing the library from a singleton to a instance be better?
Or do you have another suggestion?
I can work on this, but it will take some time. Any assistance would be greatly
appreciated.
Original comment by [email protected]
on 3 Jun 2010 at 3:51
- Changed state: Accepted
from javapns.
[deleted comment]
from javapns.
[deleted comment]
from javapns.
Hi i have the same thing to do and have an question, can i open a connection
and send
several apns, for this app, close connection and reopen a new to send several
apns
for the next app.
shorter do i have to create and close conection for any single apn
or only for each aplication?
thx Felix
Original comment by [email protected]
on 4 Jun 2010 at 11:09
from javapns.
Thanks, I will try to provide some inputs from my side.
Original comment by [email protected]
on 7 Jun 2010 at 9:41
from javapns.
Yes Felix, You can do that untill you have one thread to process all the
messages
(process the messages one by one). Only thing is you need to have the list
ordered
by the application and process it sequentially. It will be slower when you have
want
to process it for millions.
Original comment by [email protected]
on 7 Jun 2010 at 9:42
from javapns.
thx Paulraj for the fast answer,
I have one more question, support the javapns threading, i dont see somthing
for it
only a SSLsocket, how maybe can do it.
I have to send masses of apns to several applications, Devices an whane do it
with
more then 1 connection. But i dont finde a way to open more then 1 connection.
Original comment by [email protected]
on 7 Jun 2010 at 10:20
from javapns.
> Would changing the library from a singleton to a instance be better?
....
> Any assistance would be greatly appreciated.
Yes i whane help you i need it very fast to open more than 1 connection if you
tell
me what i can do to help you would be fine.
mfg Felix
Original comment by [email protected]
on 7 Jun 2010 at 11:14
from javapns.
Ok i work on it
im nearly done to make instance or singletons of the class
and make some minor changes that optimice some things.
and adding comments to them.
i will send it to you if im done.
Original comment by [email protected]
on 9 Jun 2010 at 11:26
from javapns.
How is this going?
Original comment by [email protected]
on 16 Oct 2010 at 9:38
from javapns.
I'm also interested in this feature. I have multiple apps driven by a single
server cluster. It would be really great to have multiple application support.
Original comment by [email protected]
on 6 Mar 2011 at 9:12
from javapns.
Also interested to know when multiple applications will be supported. thx Chris
Original comment by [email protected]
on 2 Aug 2011 at 2:32
from javapns.
Please see version 2.0 (branch javapns2), which was completely re-architected
to support multiple applications, persistable devices, etc.
I believe we can close this issue as fixed in version 2.0...
Original comment by [email protected]
on 31 Aug 2011 at 6:36
from javapns.
Design issue addressed in javapns 2.0. Closing.
Original comment by [email protected]
on 7 Sep 2011 at 1:01
- Changed state: Fixed
from javapns.
Related Issues (20)
- thread terminated after reached max msg send HOT 3
- Exception reporting not working for multiple payloads
- Responses not read? HOT 1
- Javapns Communication exception:Connection refused to ConnectionToAppleServer
- support for title-loc-key (ios 8.2)
- Unable to connect APNS - CommunicationException - java.net.ConnectionException : Communication Timed Out HOT 2
- Duplicate notifications being sent out at high rate
- Add content-available to PushNotificationPayload
- Do you support VoIP push notifications?
- javaapns does not supports log4j 2
- Exception java.net.SocketException
- Javapns Notifications SSL Exceptions and Closed Sockets HOT 2
- thead lake
- Version of LGPL used is not documented
- 256 byte max size is outdated for iOS7 HOT 1
- Compatibility with Java 8 HOT 1
- which is latest version for JavaPNS jar?
- Remote host closed connection during handshake
- ProxyManager not have the setProxyBasicAuthorization method
- New Category tag for Actionable Notification
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javapns.