Hi, Have you considered using the camel-blueprint-testing support ? This is what I use to test my Camel based OSGi bundle and that gives me good results.
Best regards Andreas Andreas Gies WoQ Way of Quality UG http://www.wayofquality.de Geschäftsführer & CTO eMail: andr...@wayofquality.de Tel DE: +49 151 23470823 Tel UK: +44 755 1381918 Fax: +49 1805 006534 2114 Amtsgericht Landshut: HRB 8352 Ust.-Id.: DE274771254 Haftungsausschluss Diese Email kann vertrauliche und/oder rechtlich geschützte Informationen enthalten und ist ausschließlich für den/die benannten Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Empfänger sein oder diese Email irrtümlich erhalten haben, ist es Ihnen nicht gestattet diese Mail oder einen Teil davon ohne unsere Erlaubnis zu verbreiten, zu kopieren, unbefugt weiterzuleiten oder zu behalten. Informieren Sie bitte sofort den Absender telefonisch oder per Email und löschen Sie diese Email und alle Kopien aus Ihrem System. Wir haften nicht für die Unversehrtheit von Emails, nachdem sie unseren Einflussbereich verlassen haben. Disclaimer This email may contain confidential and/or privileged information and is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are not authorized to and must not disclose, copy, distribute, or retain this message or any part of it without our authority. Please contact the sender by call or reply email immediately and destroy all copies and the original message. We are not responsible for the integrity of emails after they have left our sphere of control. Am 4/23/13(17) 7:11 PM schrieb "lleclerc" unter <llecl...@aim-rg.com>: > >Here is my complete test class : >http://pastie.org/private/19vmbn8hb3sdwxawy5qxg > >My test consist of creating a quartz endpoint. > > >All my bundle are state 32 (Started) >Bundle 0 org.eclipse.osgi State is 32 >Bundle 1 org.ops4j.pax.exam State is 32 >Bundle 2 org.ops4j.pax.exam.inject State is 32 >Bundle 3 org.ops4j.pax.exam.extender.service State is 32 >Bundle 4 osgi.cmpn State is 32 >Bundle 5 org.ops4j.pax.logging.pax-logging-api State is 32 >Bundle 6 org.ops4j.base State is 32 >Bundle 7 org.ops4j.pax.swissbox.core State is 32 >Bundle 8 org.ops4j.pax.swissbox.extender State is 32 >Bundle 9 org.ops4j.pax.swissbox.framework State is 32 >Bundle 10 org.ops4j.pax.swissbox.lifecycle State is 32 >Bundle 11 org.apache.geronimo.specs.geronimo-atinject_1.0_spec State is 32 >Bundle 12 org.apache.camel.camel-core State is 32 >Bundle 13 org.apache.camel.camel-core-osgi State is 32 >Bundle 14 org.apache.servicemix.bundles.quartz State is 32 >Bundle 15 org.apache.camel.camel-quartz State is 32 >Bundle 16 PAXEXAM-PROBE-f109411f-6dac-4560-a43a-458a41d97914 State is 32 > >Here is the pom.xml : >http://pastie.org/private/3bh9dnr4ou549op8wemxa > >Please tell me what is wrong in this test. Thank you ! > > > > >-- >View this message in context: >http://camel.465427.n5.nabble.com/Testing-camel-component-resolving-in-OSG >I-with-Pax-Exam-tp5731373.html >Sent from the Camel - Users mailing list archive at Nabble.com.