Java Microsoft Push Notification Service Library

Open Source Libraries for Mobile Connectivity

Лицензия

Лицензия

Категории

Категории

Java Языки программирования JBoss Контейнер Application Servers
Группа

Группа

org.jboss.aerogear.windows
Идентификатор

Идентификатор

java-mpns
Последняя версия

Последняя версия

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Java Microsoft Push Notification Service Library
Open Source Libraries for Mobile Connectivity
Ссылка на сайт

Ссылка на сайт

http://aerogear.org/push
Организация-разработчик

Организация-разработчик

JBoss by Red Hat
Система контроля версий

Система контроля версий

https://github.com/aerogear/java-mpns

Скачать java-mpns

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.jboss.aerogear.windows/java-mpns/ -->
<dependency>
    <groupId>org.jboss.aerogear.windows</groupId>
    <artifactId>java-mpns</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.jboss.aerogear.windows/java-mpns/
implementation 'org.jboss.aerogear.windows:java-mpns:0.3.0'
// https://jarcasting.com/artifacts/org.jboss.aerogear.windows/java-mpns/
implementation ("org.jboss.aerogear.windows:java-mpns:0.3.0")
'org.jboss.aerogear.windows:java-mpns:jar:0.3.0'
<dependency org="org.jboss.aerogear.windows" name="java-mpns" rev="0.3.0">
  <artifact name="java-mpns" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jboss.aerogear.windows', module='java-mpns', version='0.3.0')
)
libraryDependencies += "org.jboss.aerogear.windows" % "java-mpns" % "0.3.0"
[org.jboss.aerogear.windows/java-mpns "0.3.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.httpcomponents : httpclient jar 4.3.6
org.slf4j : slf4j-api jar 1.6.1
org.slf4j : jcl-over-slf4j jar 1.6.1

provided (1)

Идентификатор библиотеки Тип Версия
commons-logging : commons-logging jar 1.1.1

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.mockito : mockito-all jar 1.9.5

Модули Проекта

Данный проект не имеет модулей.

Deprecated

this module is no longer maintained

java-mpns Build Status

Note: This is a maintained fork of https://github.com/notnoop/java-mpns

Project Info
License: Apache License, Version 2.0
Build: Maven
Documentation: https://aerogear.org/push/
Issue tracker: https://issues.jboss.org/browse/AGPUSH
Mailing lists: aerogear-users (subscribe)
aerogear-dev (subscribe)

java-mpns is a Java client for Microsoft Push Notification service (MPNs). The library aims to provide a highly scalable interface to the Microsoft Push server, while still being simple and modular.

The interface aims to require very minimal code to achieve the most common cases, but have it be reconfigurable so you can even use your own networking connections or XML library if necessary.

Features:

  • Easy to use, high performance MPNS Service API
  • Easy to extend and reuse
  • Easy to integrate with dependency injection frameworks
  • Easy to setup custom notification payloads
  • Supports connection pooling
  • Supports message delegates and callbacks

Sample Code

To send a notification, you can do it in two steps:

  1. Declare Maven dependency

     <dependency>
         <groupId>org.jboss.aerogear.windows</groupId>
         <artifactId>java-mpns</artifactId>
         <version>0.3.0</version>
     </dependency>
    
  2. Setup the connection

     MpnsService service =
         MPNS.newService()
         .build();
    
  3. Create and send the message

     MpnsMessage notification = MPNS.newMessage()
         .tile().count(2).title("Tile message")
         .build();
     String subscriptionUri = "https://..../"
     service.push(subscriptionUri, notification);
    

That's it!

Documentation

For more details about the current release, please consult our documentation.

Development

If you would like to help develop AeroGear you can join our developer's mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.

Also takes some time and skim the contributor guide

Questions?

Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!

Found a bug?

If you found a bug please create a ticket for us on Jira with some steps to reproduce it.

org.jboss.aerogear.windows

AeroGear

Modern App Dev begins here - RealTime GraphQL and Push

Версии библиотеки

Версия
0.3.0
0.2.0
0.1.0