notnoop / java-apns

Java Apple Push Notification Service Provider
notnoop.github.com/java-apns
BSD 3-Clause "New" or "Revised" License
1.79k stars 656 forks source link

Number of ApnsService objects to be initailzed #334

Open ashishsharma0921 opened 7 years ago

ashishsharma0921 commented 7 years ago

How many number of ApnsService objects are required in an application. Can we use single ApnsService object in my Spring Project to send push notifications or we need to create new ApnsService object each time I am going to send push notification ? Please help me with this.

joel-matos commented 7 years ago

you can have one service to send, my question would be how is the inactive devices maintained if i'm using it concurrently?