reorganized osgi samples
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>inbound-adapter-osgi</name>
|
||||
<name>osgi-inbound</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beansProjectDescription>
|
||||
<version>1</version>
|
||||
<pluginVersion><![CDATA[2.2.5.200906231226-RC1]]></pluginVersion>
|
||||
<pluginVersion><![CDATA[2.2.4.RELEASE]]></pluginVersion>
|
||||
<configSuffixes>
|
||||
<configSuffix><![CDATA[xml]]></configSuffix>
|
||||
</configSuffixes>
|
||||
@@ -1,9 +1,9 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-Version: 1.0.3
|
||||
Bundle-Name: Inbound_adapter_osgi
|
||||
Bundle-Name: org.springframework.integration.samples.osgi.inbound
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-SymbolicName: inbound_adapter_osgi
|
||||
Bundle-Activator: org.springframework.integration.samples.inbound.InboundDemoBundleActivator
|
||||
Bundle-SymbolicName: org.springframework.integration.samples.osgi.inbound
|
||||
Bundle-Activator: org.springframework.integration.samples.osgi.inbound.InboundDemoBundleActivator
|
||||
Import-Package: org.eclipse.osgi.framework.console;version="1.0.0",
|
||||
org.osgi.framework;version="1.4.0",
|
||||
org.osgi.service.packageadmin;version="1.2.0",
|
||||
@@ -11,4 +11,4 @@ Import-Package: org.eclipse.osgi.framework.console;version="1.0.0",
|
||||
Import-Library: org.aspectj;version="[1.6.2, 2.0.0)",
|
||||
org.springframework.spring;version="[2.5.6.A, 3.1.0)"
|
||||
Import-Bundle: org.springframework.integration;version="[1.0.3,1.0.4)",
|
||||
org.springframework.integration.file;version="[1.0.3,1.0.4)"
|
||||
org.springframework.integration.file;version="[1.0.3,1.0.4)"
|
||||
@@ -1,21 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:osgi="http://www.springframework.org/schema/osgi"
|
||||
xmlns:integration="http://www.springframework.org/schema/integration"
|
||||
xmlns:file="http://www.springframework.org/schema/integration/file"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
||||
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-1.2.xsd
|
||||
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-1.0.xsd
|
||||
http://www.springframework.org/schema/integration/file http://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:osgi="http://www.springframework.org/schema/osgi"
|
||||
xmlns:integration="http://www.springframework.org/schema/integration"
|
||||
xmlns:file="http://www.springframework.org/schema/integration/file">
|
||||
http://www.springframework.org/schema/integration/file http://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd">
|
||||
|
||||
<integration:gateway id="inboundGateway"
|
||||
service-interface="org.springframework.integration.samples.osgi.inbound.InboundGateway"
|
||||
default-request-channel="inboundChannel"/>
|
||||
|
||||
<integration:publish-subscribe-channel id="inboundChannel"/>
|
||||
|
||||
<osgi:service id="inboundService" ref="inboundChannel"
|
||||
interface="org.springframework.integration.channel.SubscribableChannel"/>
|
||||
|
||||
<integration:gateway id="inboundGateway" service-interface="org.springframework.integration.samples.inbound.InboundGateway"
|
||||
default-request-channel="inChannel"/>
|
||||
|
||||
<integration:publish-subscribe-channel id="inChannel"/>
|
||||
|
||||
<osgi:service id="inboundService" ref="inChannel" interface="org.springframework.integration.channel.SubscribableChannel" />
|
||||
|
||||
</beans>
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.integration.samples.inbound;
|
||||
package org.springframework.integration.samples.osgi.inbound;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Dictionary;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.integration.samples.inbound;
|
||||
package org.springframework.integration.samples.osgi.inbound;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>outbound-adapter-osgi</name>
|
||||
<name>osgi-outbound</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beansProjectDescription>
|
||||
<version>1</version>
|
||||
<pluginVersion><![CDATA[2.2.5.200906231226-RC1]]></pluginVersion>
|
||||
<pluginVersion><![CDATA[2.2.4.RELEASE]]></pluginVersion>
|
||||
<configSuffixes>
|
||||
<configSuffix><![CDATA[xml]]></configSuffix>
|
||||
</configSuffixes>
|
||||
@@ -1,8 +1,8 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-Version: 1.0.3
|
||||
Bundle-Name: Outbound_adapter_osgi
|
||||
Bundle-Name: org.springframework.integration.samples.osgi.outbound
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-SymbolicName: outbound_adapter_osgi
|
||||
Bundle-SymbolicName: org.springframework.integration.samples.osgi.outbound
|
||||
Import-Library: org.aspectj;version="[1.6.2, 2.0.0)",
|
||||
org.springframework.spring;version="[2.5.6.A, 3.1.0)"
|
||||
Import-Bundle: org.springframework.integration;version="[1.0.3, 1.0.4)",
|
||||
@@ -1,19 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:osgi="http://www.springframework.org/schema/osgi"
|
||||
xmlns:file="http://www.springframework.org/schema/integration/file"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
||||
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-1.2.xsd
|
||||
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-1.0.xsd
|
||||
http://www.springframework.org/schema/integration/file http://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:osgi="http://www.springframework.org/schema/osgi"
|
||||
xmlns:integration="http://www.springframework.org/schema/integration"
|
||||
xmlns:file="http://www.springframework.org/schema/integration/file">
|
||||
http://www.springframework.org/schema/integration/file http://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd">
|
||||
|
||||
|
||||
<osgi:reference id="filesInService" interface="org.springframework.integration.channel.SubscribableChannel" cardinality="0..1"/>
|
||||
|
||||
<file:outbound-gateway request-channel="filesInService" id="filesOut" directory="${java.io.tmpdir}/spring-integration-samples/output" delete-source-files="true" />
|
||||
<osgi:reference id="filesIn"
|
||||
interface="org.springframework.integration.channel.SubscribableChannel"
|
||||
cardinality="0..1"/>
|
||||
|
||||
<file:outbound-gateway id="filesOut"
|
||||
request-channel="filesIn"
|
||||
directory="${java.io.tmpdir}/spring-integration-samples/output"
|
||||
delete-source-files="true"/>
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user