You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by sarfaraj <sa...@gmail.com> on 2013/03/22 04:57:50 UTC
How to gave version to camel context file ?
Hi
I have camel context file with some route logic. I have deployed that on
servicemix but I see it has 0.0.0 version by default. (see below)
<http://camel.465427.n5.nabble.com/file/n5729650/camel-version.png>
Can I add version (like 1.0.0) to that camel context file ? I have only
camel file no other project structure, even dont have pom.xml. I know
version is related to maven and this is just camel file without maven
artifact.
Is it possible ?
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-gave-version-to-camel-context-file-tp5729650.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to gave version to camel context file ?
Posted by sarfaraj <sa...@gmail.com>.
Worked, Thank you very much *Christian*
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-gave-version-to-camel-context-file-tp5729650p5729685.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to gave version to camel context file ?
Posted by Christian Müller <ch...@gmail.com>.
See the Spring deployer section at
https://cwiki.apache.org/KARAF/44-deployer.html
You have to add:
<manifest>
Bundle-Version: 1.0.0</manifest>
Another (easier) solution is to rename your file from camel-context.xml to
camel-context-1.0.0.xml.
Best,
Christian
On Fri, Mar 22, 2013 at 4:57 AM, sarfaraj <sa...@gmail.com> wrote:
> Hi
>
> I have camel context file with some route logic. I have deployed that on
> servicemix but I see it has 0.0.0 version by default. (see below)
>
> <http://camel.465427.n5.nabble.com/file/n5729650/camel-version.png>
>
> Can I add version (like 1.0.0) to that camel context file ? I have only
> camel file no other project structure, even dont have pom.xml. I know
> version is related to maven and this is just camel file without maven
> artifact.
>
> Is it possible ?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-gave-version-to-camel-context-file-tp5729650.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--