我试图让连接器发送Apple Push Messaging。 我的第一次尝试是使用"安装软件" Mule Studio(Linux)。似乎一切都很好,但图标不在流画布中。所以我无法添加到流程中。
然后我尝试将其添加为全局变量,也不起作用。在项目属性中,我更改了ESB运行时的版本。 Mule Server 3.4.0 EE Mule Server 3.4.0 EE Mule Server 3.4.0 CE Mule Server 3.4.1 EE Mule Server 3.4.2 EE Cloud Mule Runtime(2013年12月)
我尝试了第二条路径,我自己构建连接器。 我下载了该项目,并按照指示使用DevKit 3.4.3构建 http://mulesoft.github.io/apple-push-connector/guide/install.html
构建项目zip很难,最后我的POM文件保持这样......
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.mule.tools.devkit</groupId>
<artifactId>mule-devkit-parent</artifactId>
<version>3.4.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-apple-push</artifactId>
<packaging>mule-module</packaging>
<name>Mule Apple Push Connector</name>
<version>3.1-SNAPSHOT</version>
<description>Mule Cloud connector to Apple Push Notifications</description>
<url>http://www.github.com/mulesoft/apple-push-connector</url>
<properties>
<devkit.studio.package.skip>false</devkit.studio.package.skip>
<licensePath>LICENSE.md</licensePath>
<category>Standard</category>
</properties>
<dependencies>
<dependency>
<groupId>com.notnoop.apns</groupId>
<artifactId>apns</artifactId>
<version>0.1.6</version>
</dependency>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-apple-push</artifactId>
<version>RELEASE</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>mulesoft-releases</id>
<name>MuleSoft Repository</name>
<url>https://repository.mulesoft.org/releases/</url>
<layout>default</layout>
</repository>
<repository>
<id>mulesoft-snapshots</id>
<name>MuleSoft Snapshot Repository</name>
<url>https://repository.mulesoft.org/snapshots/</url>
<layout>default</layout>
</repository>
</repositories>
<scm>
<connection>scm:git:git://github.com:mulesoft/apple-push-connector.git
</connection>
<developerConnection>
scm:git:git@github.com:mulesoft/apple-push-connector.git
</developerConnection>
<url>http://github.com/mulesoft/apple-push-connector</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.mule.tools</groupId>
<artifactId>maven-mule-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<excludeMuleDependencies>false</excludeMuleDependencies>
<inclusions>
<inclusion>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-apple-push</artifactId>
</inclusion>
</inclusions>
</configuration>
</plugin>
</plugins>
</build>
从目标安装我的新zip,结果相同。未出现在Apple Push连接器中的连接器。
非常感谢能够提供一些信息的任何人。
此致
答案 0 :(得分:1)
正如MuleSoft所说,你需要手动修复连接器,直到他们自己修改它:
@Module(name = "apple-push", schemaVersion = "3.3")
public class ApplePushCloudConnector
为:
@Module(name = "apple-push", schemaVersion = "3.3", friendlyName="Apple Push")
public class ApplePushCloudConnector