如何在mule 3.9.1中发送苹果推送通知?

问题描述 投票:0回答:1

我正在使用苹果推连接器。

我收到以下错误:

    INFO  2019-04-15 17:12:50,934 [Thread-11] com.notnoop.apns.internal.ApnsConnectionImpl: Exception while waiting for error code
java.io.IOException: Unexpected command byte 0
    at com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(ApnsConnectionImpl.java:118) ~[mule-module-apple-push-4.1.0.jar:?]
DEBUG 2019-04-15 17:12:50,955 [[api-gateway].standardHTTPS.worker.01] org.mule.module.http.internal.HttpMessageLogger: LISTENER
HTTP/1.1 200 
Content-Length: 0
Date: Mon, 15 Apr 2019 22:12:50 GMT

如何解决这个问题并使连接器工作?

谢谢

参考:https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

http://mulesoft.github.io/apple-push-connector/mule/apple-push.html

http apple-push-notifications mule mule-studio
1个回答
0
投票

我使用了pushy库而且可以成功发送apple推送通知。

© www.soinside.com 2019 - 2024. All rights reserved.