Hi Pranay,

Maybe you have already a bundle deployed which has the same symbolic name (my-artifactid). Check if it's not the case and rename it.

Regards
JB

On 08/31/2011 08:45 AM, pranay6723 wrote:
HI Jean
Thanks for the reply,

I referred the link
http://blog.nanthrax.net/2011/08/use-camel-cxf-and-karaf-to-implement-batches/
and i created the maven project and followed the procedure step by step..
but while installing bundle in karaf it is giving me error ..

karaf@root>  osgi:install -s mvn:com.mygroupid/my-artifactid/1.0-SNAPSHOT
org.osgi.framework.BundleException: Bundle symbolic name and version are not
unique: my-artifactid:*1.0.0.SNAPSHOT*

my pom.xml is
<modelVersion>4.0.0</modelVersion>

   <groupId>com.mygroupid</groupId>
   <artifactId>my-artifactid</artifactId>
   <packaging>bundle</packaging>
   <version>1.0-SNAPSHOT</version>

other part of pom is just like copy of which you provided there..

I am using maven 3.0.3 , camel 2.8.0 and servicemix 4.3.0 versions


Actually What I want to  do is, I am having my data (in XML format) in
activemq QUEUE, now i want to make it available for customers. For that i
want to create a REST web service. The customers will call that webservice
by sending GET or POST requests and retrieve that XML data. Is it possible??
I want to do it using Spring DSL and servicemix. If you are having some
sample code regarding this please provide me..

thanks,
Pranay

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Creating-a-simple-REST-web-service-using-servicemix-camel-tp4749070p4753128.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to