You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jeff Yu (JIRA)" <ji...@apache.org> on 2008/01/07 18:25:43 UTC
[jira] Commented: (SMX4RUN-5) The file monitor can handle jar / zip
/ war extensions, but these extensions should be configured through a
property somehow
[ https://issues.apache.org/activemq/browse/SMX4RUN-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40995#action_40995 ]
Jeff Yu commented on SMX4RUN-5:
-------------------------------
Instead of adding a property file, I think we can associate the extension with DeploymentListener Impl, or say delegate that impl to provide supported extension?
Take JBIDeploymentListener as an example, I can register JBIDeploymentListener as:
<bean id="listener" class="org.apache.servicemix.jbi.deployer.impl.JBIDeploymentListener" />
<osgi:service ref="listener" interface="org.apache.servicemix.runtime.filemonitor.DeploymentListener" >
<osgi:service-properties>
<entry key="support.extensions" value="zip,jar"/>
</osgi:service-properties>
</osgi:service>
And then we can retrieve the supported format from the OSGi container.
Thoughts?
> The file monitor can handle jar / zip / war extensions, but these extensions should be configured through a property somehow
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: SMX4RUN-5
> URL: https://issues.apache.org/activemq/browse/SMX4RUN-5
> Project: ServiceMix Runtime
> Issue Type: Improvement
> Reporter: Guillaume Nodet
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.