Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-02-28 Thread Adrian Trenaman
Hi Christian, I've used this workaround (i.e. paramaterizing the protocol to either 'http' or 'https') before and it worked fine for me too. Haven't looked at the underlying code, but it I imagine it works as you suggest. Best, Ade - Original Message - From: Christian Mueller [mailto

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Adrian Trenaman
Excellent. I favour this approach, moving the SSL config to the container rather than having it in the service/bundle. - Original Message - From: cmoulli...@fusesource.com [mailto:cmoulli...@fusesource.com] Sent: Thursday, February 10, 2011 12:57 PM To: users@camel.apache.org Subject:

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Adrian Trenaman
Nice one Charles. Question then is - can you point to where can we configure the SSL options for the servlet engine? Cheers, Ade. On 10/02/2011 14:05, Moulliard, Charles wrote: Hi, To avoid that jetty creates both HTTP servers competing for the same port number, you must use a relative path f

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Adrian Trenaman
Hi Christian, Both bundles are separately competing for the same port - so whoever gets it first wins, and the loser then complains. AFAIK, this will happen for both HTTP and HTTPS ports; I'm not sure of a way to share the port using the normal CXF configuration. However, you could just conf

Re: [LIKELY JUNK]Re: How widely used in Camel?

2011-02-10 Thread Adrian Trenaman
ation project! Most popular endpoints, IMHO, are camel-jms, camel-file, camel-http, camel-jetty, camel-cxf (for both SOAP and RESTful web services), camel-jaxb and camel-jdbc. Cheers, Ade. --- Adrian Trenaman http://fusesource.com On 10/02/2011 05:54, Jason Chaffee wrote: I know of quite

Re: Giving anonymous processors an identity - is there an annoation for that?

2010-10-08 Thread Adrian Trenaman
Any Victorian Bitters I encountered, I swiftly quaffed ;) On 08/10/2010 13:05, Claus Ibsen wrote: On Fri, Oct 8, 2010 at 2:01 PM, Adrian Trenaman wrote: Sweet! Very, very nice. Thanks Claus! Am now compelled to buy you a beer at the FUSE Community Day in Paris next week :) Cool didn&#

Re: Giving anonymous processors an identity - is there an annoation for that?

2010-10-08 Thread Adrian Trenaman
Sweet! Very, very nice. Thanks Claus! Am now compelled to buy you a beer at the FUSE Community Day in Paris next week :) On 08/10/2010 12:59, Claus Ibsen wrote: On Fri, Oct 8, 2010 at 1:45 PM, Claus Ibsen wrote: Hi Maybe we should make sure you can use .id("xxx") as the rest of the DSL wi

Re: Should we (could we?) make Exchanges serializable?

2010-10-08 Thread Adrian Trenaman
Thanks Claus for the quick response! Will propose the 'transferExchange' approach. Cheers, Ade. On 08/10/2010 12:02, Claus Ibsen wrote: Hi There is a transferExchange option on the JMS component On Fri, Oct 8, 2010 at 12:21 PM, Ade wrote: I've never been a fan of Java serialization; how

Re: property-placeholder and classpath

2010-10-07 Thread Adrian Trenaman
Hi Hossein, Sorry for coming in late on this topic. Have you tried just using a Spring PropertyPlaceHolder configurer? Then, if you're deploying into ServiceMix, you can just use ${karaf.home}/etc/my.properties in one of the locations. /Ade On 07/10/2010 13:11, Hossein wrote: Thanks Claus

Re: Camel, OSGI and container wide Camel route lookups

2010-08-09 Thread Adrian Trenaman
Hi Christian, As far as I know, camel contexts are intended to be isolated, so detecting routes in other contexts will not work. I recently did some work on a similar use-case by wiring in dynamic 'extension' processors using OSGi registry lookups: it worked quite well! However, I would cauti

Re: Visibility between camel contexts

2010-07-26 Thread Adrian Trenaman
In general, Camel contexts should be considered as isolated from each other (this is by design!). To communicate between Camel contexts, consider using the VM or JMS transports. Right now, what you're trying to do by separating the endpoints from the routes won't work - as you have found out!

Re: Migrating from 1.6 to 2.2: Using seda endpoint

2010-07-01 Thread Adrian Trenaman
Hmmm... Try splitting the route in two: 1) A -> B -> seda:log 2) seda:log -> log:... The first route should send the response from B to 'seda:log' and the return the out message to the endpoint that initiated the route. You might need to set the MEP to 'InOnly' for the call to 'seda:log', to

Re: Multiple Camel Contexts - why?

2010-06-30 Thread Adrian Trenaman
ducers in different camel contexts to communicate with another, there are a number of solutions. You can use the ServiceMix NMR, or you can use JMS, or you can use Camel's vm transport. Adrian Trenaman http://fusesource.com On 30/06/2010 09:24, Gallapagus wrote: Hi all, Just a quick questio

Re: Can a route shut itself down?

2010-06-25 Thread Adrian Trenaman
Thanks Claus, Got befuddled by a Google search with lots of noise: thanks for pointing me in the right direction. Cheers, Ade. On 25/06/2010 12:35, Claus Ibsen wrote: On Fri, Jun 25, 2010 at 1:31 PM, Adrian Trenaman wrote: Hi Community, I'd like to be able for a route to be ab

Can a route shut itself down?

2010-06-25 Thread Adrian Trenaman
Hi Community, I'd like to be able for a route to be able to intelligently shut itself down: for example, if the route discovers that a DB connection or some other back-end service is unavailable, then it should gracefully shut itself down and then be restartable through human intervention, for

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Adrian Trenaman
SelectorPending Queue Size UniqueIdHereAscariCamelRouteOFFLINE remotetopic 43 Has anyone experienced (and solved) this problem? thanks, Łukasz On 17 June 2010 11:42, Adrian Trenamanwrote: You need to set your reconnection settings

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Adrian Trenaman
ectorPending Queue Size UniqueIdHereAscariCamelRouteOFFLINE remotetopic 43 Has anyone experienced (and solved) this problem? thanks, Łukasz On 17 June 2010 11:42, Adrian Trenaman wrote: You need to set your reconnection settings on the ActiveMQ connection s

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Adrian Trenaman
You need to set your reconnection settings on the ActiveMQ connection string! AFAIR, Camel doesn't reconnect by default. Cheers, Ade. On 17/06/2010 09:51, Łukasz Budnik wrote: Hi all, I'm new to Camel and I'm evaluating it. I have a simple scenario: I want to consume messages from a remote A

Re: RouteBuilder & Spring Bean injection

2010-06-08 Thread Adrian Trenaman
Hmmm: have to say, I never quite liked that scan approach: I prefer to simply create the route builder explicitly. Am I being luddite or simply old fashioned? Is there a compelling reason to use the approach in your use case? - Original Message - From: Charles Moulliard To: users@c

Re: Direct-route not shared across contexts?

2010-06-03 Thread Adrian Trenaman
). So i'm kinda tempted to consider that a bug. On Thu, Jun 3, 2010 at 13:27, Adrian Trenaman wrote: Fraid not! If you want to cross camel contexts in the same JVM, you could use the Camel VM (http://camel.apache.org/vm.html) component to do this. Or, you can take a look at using the NM

Re: Direct-route not shared across contexts?

2010-06-03 Thread Adrian Trenaman
Fraid not! If you want to cross camel contexts in the same JVM, you could use the Camel VM (http://camel.apache.org/vm.html) component to do this. Or, you can take a look at using the NMR in SMX4 to achieve something similar. Hope that helps, Ade. On 03/06/2010 12:19, ankelee wrote: Hi Is

Re: Integration CORBA with Camel ?

2010-04-15 Thread Adrian Trenaman
Hi Charles, I'm blessed to have quite a lot of experience in CORBA from my past, and, quite a lot of experience in Camel too ;) There are lots of cool, dynamic, sexy ways you could do this. However, I think that if you're looking to integrate with an existing CORBA service, the best way is g

Re: Sharing a CamelContext across several bundles

2009-12-22 Thread Adrian Trenaman
Might be a bit tricky: maybe you could declare the context in one bundle, register it as an osgi service, and then pull it in to the routes in your other bundles. Another approach I've used in the past is to provide an osgi service for each route, which uses the producerTemplate to kick off th

Re: camel-jetty and loadbalancing

2009-12-11 Thread Adrian Trenaman
ard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm On Fri, Dec 11, 2009 at 3:25 PM, Adrian Trenaman wrote: > You should use camel-ht

Re: camel-jetty and loadbalancing

2009-12-11 Thread Adrian Trenaman
You should use camel-http instead of -jetty for your http producer endpoints! I.e. Start your uri for the producers with http:// rather than jetty:http:// HTH, Ade - Original Message - From: Charles Moulliard To: users@camel.apache.org Sent: Fri Dec 11 09:13:35 2009 Subject: camel-j

Re: Camel & MINA Compont

2009-12-07 Thread Adrian Trenaman
Hi there, I recommend first going to the Apache Mina project: there's a pretty good tutorial there on the use of Mina. Then, take a look at the page on the camel mina component at camel.apache.org. /Ade - Original Message - From: GilbertLin <6555tw.gilb...@gmail.com> To: users@camel.

Re: Splitting nested objects ...

2009-12-03 Thread Adrian Trenaman
Try this: write a custom processor which sets the out message to the list of addresses. Then do your split() directly after that: the split() processor is smart enough to know how to split a List of objects! - Original Message - From: DRy To: users@camel.apache.org Sent: Fri Dec 04 01:

Re: Newbiew: from(cxf).to(file) doesn't work

2009-11-22 Thread Adrian Trenaman
Hi there, I *think* your problem may be related to the fact that your route does not set an out message on the exchange: the file component is working to a 'InOnly' MEP while the CXF component is working in 'InOut' MEP. Maybe add a processoe after your 'to' that sets a response? /Ade - Or

Re: JAXB Exception

2009-05-25 Thread Adrian Trenaman
Hmm - I think you should be providing a path to the JAXB marshaller, not a class name. Try: jaxb.setContextPath("org.helios.routing.server"); Best, Ade Frank C. wrote: I am getting a "Caused by: javax.xml.bind.JAXBException: "org.helios.routing.server.EndpointInformation" doesnt contain O

Re: "Can not delete file" when combining file poller and JMS

2009-04-08 Thread Adrian Trenaman
p is greatly appreciated. Kind Regards Marek -- View this message in context: http://www.nabble.com/%22Can-not-delete-file%22-when-combining-file-poller-and-JMS-tp22951942p22951942.html Sent from the Camel - Users mailing list archive at Nabble.com. --- Adrian Trenaman, Consu

Re: Is it possible to see which messages are currently "delayed"

2009-04-07 Thread Adrian Trenaman
fcardz.dzone.com/refcardz/enterprise-integration --- Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence Progress Software Corp Shelbourne Road, Dublin 4, Ireland --- +353-1-637-2659 (Office) +353-1-637-2882 (Fax) +353-86-6051026 (Mobile) adrian.trenaman (Skype) Blog: http://trenaman.blogspot.com

Re: How to reference RouteBuilder in the context - Camel 2.0-snapshot

2009-04-01 Thread Adrian Trenaman
n Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus Apache Camel Reference Card: http://refcardz.dzone.com/refcardz/enterprise-integration --- Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Co

Re: Camel in Batch Processing.

2009-03-10 Thread Adrian Trenaman
een loaded into memory entirely. Does it make sense to try to model such a scenario with flows (and thus Camel) at all ? Still I was envisioning to use all the nice Camel integration endpoints in interacting with the outside world :) Cheers and thank you for your advice, I appreciate.

Re: Transactional batching

2009-03-10 Thread Adrian Trenaman
://davsclaus.blogspot.com/ --- Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence Progress Software Corp Shelbourne Road, Dublin 4, Ireland --- +353-1-637-2659 (Office) +353-1-637-2882 (Fax) +353-86-6051026 (Mobile) adrian.trenaman (Skype) Blog: http://trenaman.blogspot.com

Re: Camel 2.0 & ActiveMq: connection refused (tcp://localhost:61616) !!

2009-03-09 Thread Adrian Trenaman
-refused-%28tcp%3A--localhost%3A61616%29-%21%21-tp22413400p22413400.html Sent from the Camel - Users mailing list archive at Nabble.com. --- Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence Progress Software Corp Shelbourne Road, Dublin 4, Ireland --- +353-1-637-2659 (Offic

Re: Camel in Batch Processing.

2009-03-09 Thread Adrian Trenaman
) and triggered ? Thanks, Christian -- View this message in context: http://www.nabble.com/Camel-in-Batch-Processing.-tp22388071p22388071.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. --- Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence Pro

Re: Fuse Packages

2009-02-04 Thread Adrian Trenaman
into the message-broker config? Glenn -Original Message- From: Adrian Trenaman [mailto:trena...@progress.com] Sent: 04 February 2009 16:33 To: users@camel.apache.org Subject: Re: Fuse Packages HI Glenn, I think the fusesource.com forum is back up; I believe there was some problems ea

Re: Fuse Packages

2009-02-04 Thread Adrian Trenaman
ying to get a handle on what the components are and how to use them. Thanks Glenn --- Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence Progress Software Corp Shelbourne Road, Dublin 4, Ireland --- +353-1-637-2659 (Office) +353-1-637-2882 (Fax) +353-86-6051026 (Mobi