Re: jetty-component : many context paths

2009-03-16 Thread pevgen
Thanks. but only version 2.0 have this property(matchOnUriPrefix)... Evgeny Claus Ibsen-2 wrote: > > On Fri, Mar 13, 2009 at 9:22 AM, Willem Jiang > wrote: >> Hi, >> >> You just need to set opetion matchOnUriPrefix[1] to be true, then all >> the request to jetty:http://localhost:1234/base/* w

Re: camel-activemq java.util.Map over JMS

2009-03-16 Thread Claus Ibsen
Hi The problem is that you use Map as the type. And thus Camel wants to use javax.jms.MapMessage as the JMS type to send the message between the client/server. And the JMS MapMessage store all its keys as String objects http://java.sun.com/javaee/5/docs/api/javax/jms/MapMessage.html So you shoul

Camel 1.6.1-SNAPSHOT

2009-03-16 Thread Guillaume Renault
Hi all, I was wondering if a Camel 1.6.1-SNAPSHOT version is available through the SNAPSHOT maven repository (http://people.apache.org/repo/m2-snapshot-repository/org/apache/camel/) ... ? When i checked, i only found the 2.0-SNAPSHOT version, and an empty dir for the 1.5-SNAPSHOT one :) Che

Re: Delayer: "Transport disposed" at JVM-Shutdown

2009-03-16 Thread Markus Reil
Hi, thanks for your reply. Claus Ibsen-2 wrote: > > If you do NOT way any error handling in camel just set the error > handler to no error handler :) > Yeah maybe we need a nicer DSL for disabling it > > errorHandler(noErrorHandler()); > That works. Thanks. Claus Ibsen-2 wrote: > >> Setti

Re: Delayer: "Transport disposed" at JVM-Shutdown

2009-03-16 Thread Claus Ibsen
On Mon, Mar 16, 2009 at 1:48 PM, Markus Reil wrote: > > Hi, > > thanks for your reply. > > > Claus Ibsen-2 wrote: >> >> If you do NOT way any error handling in camel just set the error >> handler to no error handler :) >> Yeah maybe we need a nicer DSL for disabling it >> >> errorHandler(noErrorHa

Re: Delayer: "Transport disposed" at JVM-Shutdown

2009-03-16 Thread Markus Reil
Hi, I enabled DEBUG loggin for camel and I cannot see the "Sleep interrupted" log from DelayerProcessorSupport. Cheers, Markus -- View this message in context: http://www.nabble.com/Delayer%3A-%22Transport-disposed%22-at-JVM-Shutdown-tp22202167p22538055.html Sent from the Camel - Users (activ

Re: Delayer: "Transport disposed" at JVM-Shutdown

2009-03-16 Thread Claus Ibsen
On Mon, Mar 16, 2009 at 2:21 PM, Markus Reil wrote: > > Hi, > > I enabled DEBUG loggin for camel and I cannot see the "Sleep interrupted" > log from DelayerProcessorSupport. Which version of Camel are you using? And are you sure there is a message in delay in Camel, while you shutdown? Are you a

Re: camel-activemq java.util.Map over JMS

2009-03-16 Thread Claus Ibsen
On Mon, Mar 16, 2009 at 9:46 AM, Claus Ibsen wrote: > Hi > > The problem is that you use Map as the type. > And thus Camel wants to use javax.jms.MapMessage as the JMS type to > send the message between the client/server. > > And the JMS MapMessage store all its keys as String objects > http://jav

Re: How do I filter out unwanted header properties propergated in route

2009-03-16 Thread AHardy
That make sense, thanks Claus Claus Ibsen-2 wrote: > > On Fri, Mar 13, 2009 at 1:08 PM, AHardy wrote: >> >> Apache Camel has been a revelation in componentising flow based >> applications. >> Although getting started has been a hair pulling exercise at times..but >> definitely rewarding. I hav

Re: Camel 1.6.1-SNAPSHOT

2009-03-16 Thread cmoulliard
Hi Guillaume, Only three defects have been assigned to the release 1.6.1 and none are solved. This is why, no snapshot is available for the moment. Regards, Guillaume Renault wrote: > > Hi all, > > I was wondering if a Camel 1.6.1-SNAPSHOT version is available through > the SNAPSHOT maven

Re: Delayer: "Transport disposed" at JVM-Shutdown

2009-03-16 Thread Markus Reil
Claus Ibsen-2 wrote: > > Which version of Camel are you using? > > And are you sure there is a message in delay in Camel, while you shutdown? > > Are you also using JMS? > I'm using 1.5.0 at the moment and I'm sure the message is in delay: [15:27:03.598] [DEBUG] [DelayRoutes] Save exchange

process() not called when mime type in Base64

2009-03-16 Thread AHardy
Why is process() component in pipeline not called for route B? public class myApp extends SpringRouteBuilder { public static void main(String[] args) { new Main().run(args); } public void configure() { from("imap:mailhostA").process(new AttachmentProcessor("A")).to("be

Re: camel-activemq java.util.Map over JMS

2009-03-16 Thread Claus Ibsen
Hi You should check the updated wiki page how to do it http://cwiki.apache.org/confluence/display/CAMEL/JMS There is a new option: jmsMessageType. And see also the section: Overriding or controlling the mapping On Mon, Mar 16, 2009 at 4:31 PM, mam1 wrote: > > > > mam1 wrote: >> >> Hi. >> >> I h

Re: Delayer: "Transport disposed" at JVM-Shutdown

2009-03-16 Thread Claus Ibsen
On Mon, Mar 16, 2009 at 3:34 PM, Markus Reil wrote: > > > > Claus Ibsen-2 wrote: >> >> Which version of Camel are you using? >> >> And are you sure there is a message in delay in Camel, while you shutdown? >> >> Are you also using JMS? >> > > I'm using 1.5.0 at the moment and I'm sure the message

Re: camel-activemq java.util.Map over JMS

2009-03-16 Thread mam1
mam1 wrote: > > Hi. > > I have a problem using camel activemq/jms components. I used to have a low > level socket communication using Java serialization. One of responses > contained a Serializable object that had a Map> as its > member. > > When I use camel activemq/jms the returned object

Re: process() not called when mime type in Base64

2009-03-16 Thread AHardy
Correction, the process() component is called! The Base64 convertor being selected does not popluate Exchange.getIn.getAttachments. Is this correct? -- View this message in context: http://www.nabble.com/process%28%29-not-called-when-mime-type-in-Base64-tp22539655p22540805.html Sent from the Ca

Re: process() not called when mime type in Base64

2009-03-16 Thread Claus Ibsen
On Mon, Mar 16, 2009 at 4:38 PM, AHardy wrote: > > > Correction, the process() component is called! The Base64 convertor being > selected does not popluate Exchange.getIn.getAttachments. Is this correct? That could be. Can you try debugging the code and look for yourself what happens > -- > View

Re: Camel 1.6.1-SNAPSHOT

2009-03-16 Thread Claus Ibsen
Hi The move to top level project at apache kinda killed the 1.6.x-SNAPSHOT. I have no timeline when it will be back, or back if ever. On Mon, Mar 16, 2009 at 1:24 PM, Guillaume Renault wrote: > Hi all, > > I was wondering if a Camel 1.6.1-SNAPSHOT version is available through the > SNAPSHOT ma

Re: Starting, stopping and removing routes at runtime

2009-03-16 Thread Claus Ibsen
On Sun, Mar 15, 2009 at 12:51 PM, m.s. wrote: > > Thanks, that's exactly what I was looking for. But after looking at the > JavaDocs and writing a simple test application, there are still some points > I do not understand, maybe you can help me to clarify them: > > - is there a way to avoid duplic

Re: Apache Camel

2009-03-16 Thread Hadrian Zbarcea
Hi, Thanks for your interest in Camel. From your message it's still not clear what exactly you want to achieve. Camel is an integration framework, so it's generally used to build routes, it's not usually used as a client (although it could). There are binary distributions you could dow

Camel JMS Component (ActiveMQ) Repeatedly Reconnects

2009-03-16 Thread greenbean
Apache Camel 2.0 Snapshot Apache ActiveMQ 5.2 When I started Apache Camel I see repeated connect/disconnect events in activemq. Is there something I have done incorrectly to have activemq do this? I use ActiveMQ other places (outside of camel) and everything works fine. Below is the XML config

Concurrent processing of messages - How do you configure a seda consumer (or any other transport)?

2009-03-16 Thread Ryan Gardner
I am currently using Camel 1.6.0 I have a process in my application where a small number of somewhat time-sensitive messages are sent out to various channels (how isn't really relevant - could be email, jabber, smoke signals, whatever) Rather than process them in a queue, I would like to se

Re: Camel JMS Component (ActiveMQ) Repeatedly Reconnects

2009-03-16 Thread Claus Ibsen
Hi You should use the ActiveMQ component instead of the generic JmsComponent. Its optimized for AMQ. http://camel.apache.org/activemq.html On Mon, Mar 16, 2009 at 9:37 PM, greenbean wrote: > > Apache Camel 2.0 Snapshot > Apache ActiveMQ 5.2 > > When I started Apache Camel I see repeated connec

Re: Concurrent processing of messages - How do you configure a seda consumer (or any other transport)?

2009-03-16 Thread Claus Ibsen
On Mon, Mar 16, 2009 at 10:22 PM, Ryan Gardner wrote: > I am currently using Camel 1.6.0 > > I have a process in my application where a small number of somewhat > time-sensitive messages are sent out to various channels (how isn't really > relevant - could be email, jabber, smoke signals, whatever