cannot build tutorial-osgi-camel-part2

2009-11-24 Thread Kevin.Zhang
Hi Charles, I cannot build the reportincident.model. Below is the error. Please help me out. Thanks, Kevin - C:\temp\tutorial-osgi-camel-part2\reportincident.model>mvn clean install [INFO] Scanning

Re: Building camel trunk: resolving dependencies?

2009-11-24 Thread Claus Ibsen
Hi I have not added any repo to my nexus. This is what I have listed when I access http://localhost:8081/nexus/index.html and click repositories Public Repositories group maven2 Releases, Snapshots, 3rd party, Maven Central http://localhost:8081/nexus/content/groups/public Public Snapshot Repo

Re: Building camel trunk: resolving dependencies?

2009-11-24 Thread Claus Ibsen
Hi Without nexus I cannot build camel-web and I get this strange error. Maven is sometimes a p*** as well. Wonder which of all those jars that uses spring 2.5.2 and why its not possible to find in central repo. \davsclaus:(svn)camel[trunk:883983]/components/camel-web$ mvn dependency:list [INFO]

Re: DataSet header {CamelDataSetIndex=0} causes failure

2009-11-24 Thread Claus Ibsen
On Wed, Nov 25, 2009 at 6:16 AM, tide08 wrote: > > @Claus > > Patch seems to work fine, I got my soak test working, Thanks! > Great news and glad we got that fixed before 2.1 is being build. > > Claus Ibsen-2 wrote: >> >> Hi >> >> Thanks a lot for your findings. >> >> I have created a ticket >>

Re: DataSet header {CamelDataSetIndex=0} causes failure

2009-11-24 Thread tide08
@Claus Patch seems to work fine, I got my soak test working, Thanks! Claus Ibsen-2 wrote: > > Hi > > Thanks a lot for your findings. > > I have created a ticket > https://issues.apache.org/activemq/browse/CAMEL-2215 > > And will commit a fix in short time. > Feel free to try with latest cod

[ANNOUNCE] Apache Camel 1.6.2 Release

2009-11-24 Thread Hadrian Zbarcea
Welcome to a new maintenance release of Apache Camel. The camel-1.6.2 release comes with approx 101 issues resolved (new features, improvements and bug fixes such as...) • Fixes for OSGi bundles. • Support multiple camel versions in OSGi containers. • Fixed Karaf fea

Re: Building camel trunk: resolving dependencies?

2009-11-24 Thread Willem Jiang
Thanks for sharing what you found. Please feel free to update the wiki page[1] yourself. If you don't have the wiki page account, you may need to sign a cal[2] for it. [1]http://cwiki.apache.org/CAMEL [2]http://www.apache.org/licenses/#clas Willem Barry Kaplan wrote: I added the following pr

Re: Building camel trunk: resolving dependencies?

2009-11-24 Thread Barry Kaplan
I added the following proxies to my nexus and now I can build trunk: - http://repo.fusesource.com/maven2-all/ - http://gaejtools.sourceforge.jp/maven/repository. Maybe (your/required) nexus proxies should be listed on on the wiki somewhere? -- View this message in context: http://old.nabble.com

Re: Are sources not published for snapshot builds by design?

2009-11-24 Thread Jon Anstey
Oh, and it *shouldn't* add too much to the build time... famous last words ;) On Tue, Nov 24, 2009 at 9:19 PM, Jon Anstey wrote: > Hey guys, > > I just updated Hudson to deploy source jars and kicked off a new build. > Lemme know if it doesn't work. > > > On Tue, Nov 24, 2009 at 4:40 PM, Claus I

Re: Are sources not published for snapshot builds by design?

2009-11-24 Thread Jon Anstey
Hey guys, I just updated Hudson to deploy source jars and kicked off a new build. Lemme know if it doesn't work. On Tue, Nov 24, 2009 at 4:40 PM, Claus Ibsen wrote: > On Tue, Nov 24, 2009 at 8:05 PM, Barry Kaplan wrote: > > > > Its a bit painful to have to generate and install the source jars

Re: Building camel trunk: resolving dependencies?

2009-11-24 Thread Barry Kaplan
Hmm, ok. I do use nexus, and assumed you did as well. But I have about a dozen proxy repositories setup so I wondered if the nexus that cemel is built against has some proxies that I do not. But if it should build straight out of the box, I'll look into each missing dep. Thanks. -- View this mess

TransformerException: Source object passed to ''{0}'' has no contents.

2009-11-24 Thread lekkie
I am trying to send a soap request from a JMS queue to service engine (JBI in OSGI) and I encountered the ffg errors: 23:49:22,484 | ERROR | Service-thread-1 | NMRDestination | nmr.core.InternalEndpointWrapper 86 | error preparing message javax.xml.transform.TransformerExcepti

Re: FailedToCreateRouteException: Failed to create route route1

2009-11-24 Thread lekkie
That worked. Thnx. Stan Lewis-3 wrote: > > On Tue, Nov 24, 2009 at 10:56 AM, lekkie wrote: >> >> Thnx. >> >> I tried that and it seems it cant find the transport nmr resource path. >> See >> exception below: >> >> XML bean definitions from OSGi >> resource[classpath:META-INF/cxf/transport/nmr

Re: Building camel trunk: resolving dependencies?

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 8:11 PM, Barry Kaplan wrote: > > Are some of the repositories used by the development team contained in a > repository defined in a settings.xml? I get numerous missing dependencies > when I try to compile trunk. > -- Not really as all the dependencies are in the pom.xml f

Re: Are sources not published for snapshot builds by design?

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 8:05 PM, Barry Kaplan wrote: > > Its a bit painful to have to generate and install the source jars everyday. > Would it be possible to publish them to the repository? Its Apache Hudson doing the builds and deploys. http://hudson.zones.apache.org/hudson/ I dont know if tha

Building camel trunk: resolving dependencies?

2009-11-24 Thread Barry Kaplan
Are some of the repositories used by the development team contained in a repository defined in a settings.xml? I get numerous missing dependencies when I try to compile trunk. -- View this message in context: http://old.nabble.com/Building-camel-trunk%3A-resolving-dependencies--tp26499933p264999

Are sources not published for snapshot builds by design?

2009-11-24 Thread Barry Kaplan
Its a bit painful to have to generate and install the source jars everyday. Would it be possible to publish them to the repository? -- View this message in context: http://old.nabble.com/Are-sources-not-published-for-snapshot-builds-by-design--tp26499928p26499928.html Sent from the Camel - Users

Re: Cannot intercept from another DSL-route def. in the same camel context

2009-11-24 Thread shirazi
Thanks a lot Claus. "adviceWith" is exactly what I was looking for. I guess I need to upgrade to camel 2.1-SNAPSHOT. I realy appreciate your help. Bests, -Farhad Shirazi Claus Ibsen-2 wrote: > > On Tue, Nov 24, 2009 at 2:15 PM, Claus Ibsen > wrote: >> On Tue, Nov 24, 2009 at 2:02 PM, shirazi

Re: Camel : schedule the move of messages

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 6:17 PM, titexe wrote: > > Thank you for your reply > > my need is simple, I want to transfer messages from the queue A to queue B, > each 1 hour. > > I think the examples that are present in this page is not used to me. > > de you have ideas that could help me ? > Well As

Re: Camel : schedule the move of messages

2009-11-24 Thread titexe
Thank you for your reply my need is simple, I want to transfer messages from the queue A to queue B, each 1 hour. I think the examples that are present in this page is not used to me. de you have ideas that could help me ? thank you again titexe Ashwin Karpe wrote: > > Hi, > > You could d

Re: AmbiguousMethodCallException on transactional spring bean

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 3:40 PM, Claus Ibsen wrote: > On Tue, Nov 24, 2009 at 3:35 PM, Kees de Kooter wrote: >> >> Thanks for creating the ticket Claus. I have added a code snippet and a stack >> trace to the issue. >> > > Which version of Camel are you using? > > I have fixed several bugs in it

Re: FailedToCreateRouteException: Failed to create route route1

2009-11-24 Thread Stan Lewis
On Tue, Nov 24, 2009 at 10:56 AM, lekkie wrote: > > Thnx. > > I tried that and it seems it cant find the transport nmr resource path. See > exception below: > > XML bean definitions from OSGi > resource[classpath:META-INF/cxf/transport/nmr/cxf-transport-nmr.xml|bnd.id=176|bnd.sym=nau-college-se] >

Re: FailedToCreateRouteException: Failed to create route route1

2009-11-24 Thread lekkie
Thnx. I tried that and it seems it cant find the transport nmr resource path. See exception below: XML bean definitions from OSGi resource[classpath:META-INF/cxf/transport/nmr/cxf-transport-nmr.xml|bnd.id=176|bnd.sym=nau-college-se] 16:52:31,731 | ERROR | xtenderThread-79 | OsgiBundleXmlApplicat

Re: FailedToCreateRouteException: Failed to create route route1

2009-11-24 Thread Stan Lewis
On Tue, Nov 24, 2009 at 10:15 AM, lekkie wrote: > > While trying to configure a route using the camel 2.0, I had the ffg in my > bean.xml file: > > >                 >                         >                 >         > > and I have this in my bean class as the annotation > @WebService(targetNa

FailedToCreateRouteException: Failed to create route route1

2009-11-24 Thread lekkie
While trying to configure a route using the camel 2.0, I had the ffg in my bean.xml file: and I have this in my bean class as the annotation @WebService(targetNamespace = "http://services.com";, serviceName = "Services", portNa

Re: AmbiguousMethodCallException on transactional spring bean

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 3:35 PM, Kees de Kooter wrote: > > Thanks for creating the ticket Claus. I have added a code snippet and a stack > trace to the issue. > Which version of Camel are you using? I have fixed several bugs in it for 2.1 so it may already work in 2.1. > > Claus Ibsen-2 wrote:

Re: AmbiguousMethodCallException on transactional spring bean

2009-11-24 Thread Kees de Kooter
Thanks for creating the ticket Claus. I have added a code snippet and a stack trace to the issue. Claus Ibsen-2 wrote: > > Hi > > I have created a ticket > https://issues.apache.org/activemq/browse/CAMEL- > > Feel free to create a small sample application that demonstrates this > issue. T

Re: AmbiguousMethodCallException on transactional spring bean

2009-11-24 Thread Claus Ibsen
Hi I have created a ticket https://issues.apache.org/activemq/browse/CAMEL- Feel free to create a small sample application that demonstrates this issue. That can be used to help fix it and as an unit test for the future. On Tue, Nov 24, 2009 at 2:54 PM, Kees de Kooter wrote: > > I have co

Re: AmbiguousMethodCallException on transactional spring bean

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 2:54 PM, Kees de Kooter wrote: > > I have configured a spring bean as a consumer of a message queue. It contains > one method, annotated @Transactional. > > Camel throws an AmbiguousMethodCallException. "Ambiguous method invocations > possible [..] public final void > com..

AmbiguousMethodCallException on transactional spring bean

2009-11-24 Thread Kees de Kooter
I have configured a spring bean as a consumer of a message queue. It contains one method, annotated @Transactional. Camel throws an AmbiguousMethodCallException. "Ambiguous method invocations possible [..] public final void com..TransactionService$$EnhancerByCGLIB$$273a5668.setPrefiltered(boolean

Camel vs Actor Model

2009-11-24 Thread Seb-
Hi, I'm in the process of designing a Message Passing Workflow System, and I am thinking about thoses 2 solutions. I know that Camel is Route-centric, comes up with numerous EIP implemented, supports transaction, JMX management, ... But I wonder as to how it scales/flow rate (I know scaling depend

Re: Cannot intercept from another DSL-route def. in the same camel context

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 2:15 PM, Claus Ibsen wrote: > On Tue, Nov 24, 2009 at 2:02 PM, shirazi wrote: >> >> Ok. Being able to import other routes would be very useful, specially for >> setting up various test scenarios. >> > > Yeah but we got another treat for that in 2.1 which is adviceWith > wh

Re: Cannot intercept from another DSL-route def. in the same camel context

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 2:02 PM, shirazi wrote: > > Ok. Being able to import other routes would be very useful, specially for > setting up various test scenarios. > Yeah but we got another treat for that in 2.1 which is adviceWith which I cover in the book as well in the testing chapter. For now

Re: Cannot intercept from another DSL-route def. in the same camel context

2009-11-24 Thread shirazi
Ok. Being able to import other routes would be very useful, specially for setting up various test scenarios. Thanks very much for your reply, -Farhad Shirazi Claus Ibsen-2 wrote: > > Hi > > Its per route builder only. > > There is a ticket about adding a "template" kinda routes which you can

Re: Cannot intercept from another DSL-route def. in the same camel context

2009-11-24 Thread Claus Ibsen
Hi Its per route builder only. There is a ticket about adding a "template" kinda routes which you can import from other routes. Its still work in progress. Although in Camel 2.1 Java DSL you can do an importRoutes AFAIR in the route builder. There is a ticket in JIRA about the "template" thingy.

Cannot intercept from another DSL-route def. in the same camel context

2009-11-24 Thread shirazi
Hi, When I move my interceptor definitions from my main RouteBuilder def. to another RouteBuilder def., both in the same camel-context, then they cease to work. Consider the following set up, which works perfectly: // Main Route def. public class MyRoutes extends RouteBuilder { @Override

Re: Camel CXF-JAXRS error !!

2009-11-24 Thread Charles Moulliard
I prepare a new camel example (or maybe tutorial) based on camel - cxf - REST running on Apache Felix Karaf 1.0.0. What is the right place to put it ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.co