Re: JMSConfiguration - Camel vs CXF

2011-02-10 Thread Christian Schneider
Hi Jeffrey, I can understand that using JNDI is quite attractive for administration. About changing the applicationContext. You could do this in maven by using resource filtering. For the src/main/resources directory this is already turned on. So you can write ${propertyname} in the context. E

Re: HL7 component release connection problem

2011-02-10 Thread Martin Krasser
Hi, sorry for jumping in so late on this issue. To investigate this problem further, please - attach the HL7 messages (files) you use for testing to the JIRA issue (maybe there's a problem with the line endings) - describe how the message is sent (what client is used, provide some code if po

Re: HL7 component release connection problem

2011-02-10 Thread Claus Ibsen
Hi Can you open a JIRA ticket and attach a sample of the HL7 stream you send? Then we can use that to check into the issue. Do you test HL7 message only contain 1 startbyte and 1 end byte sequence, eg like this: a) - start byte - msg 1 - msg 2 - end bytes b) Or do you do - start byte - msg 1 -

UnMarshall Jackson or Protobuf

2011-02-10 Thread Gary S
The Json-Jackson and Protobuf documentation isn't clear to me how to correctly marshall/unmarshall a POJO containing a HasMap to either Json-Jackson or Protobuf. The examples seem to imply that it works correctly without having to specify my POJO. Can you please spell it out for me? Also, I saw

Re: HL7 component release connection problem

2011-02-10 Thread hoopzhou
I used startbyte 0x0b ,endByte1 0x1c and endByte2 0x0d in my test HL7 message. IPF groups member says that "except the ghl7() part of the route I don't see anything else which is IPF specific. Can you try with the Camel's hl7() instead of the ghl7() to verify the same behavior?" So I build a ne

Re: JMSConfiguration - Camel vs CXF

2011-02-10 Thread Jeffrey Knight
> So my question is why don´t you simply use an ActiveMQConnectionFactory in > spring and skip all the JNDI stuff. I have done some deployments in an > enterprise environment > and we most times did not use jndi Very strict client corporate/enterprise requirements that resources be managed in

Re: JMSConfiguration - Camel vs CXF

2011-02-10 Thread Christian Schneider
Hi Jeffrey, I find this quite interesting to see that it is possible to define an ActiveMQ queue and provider in WAS. It is also a bit complicated though. So my question is why don´t you simply use an ActiveMQConnectionFactory in spring and skip all the JNDI stuff. I have done some deployment

Re: JMSConfiguration - Camel vs CXF

2011-02-10 Thread Jeffrey Knight
> You should upload it somewhere and then send the link with a request for feed > back to the list. Perhaps one of the free file hosters will do. Please give me feedback on this work-in-progress JNDI example. I think this example would be useful for those integrating with WebSphere / JNDI: http:/

Re: Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-10 Thread Ashwin Karpe
Hi James, I like the approach. It certainly replaces the need to have a Strategy and eliminates the need to inject a context into a component. If everyone agrees, I will be happy to develop this capability along these lines and open it up for review and comment. Cheers, Ashwin... - --

Re: Cannot handle Exception thrown from Splitter Expression

2011-02-10 Thread Jim Newsham
On 2/10/2011 9:41 AM, rmorris wrote: I think I've found a similar case when the exception occurs within a split().method() In this case, the exception is thrown inside the method() and doesn't make it to the onException() handler. Adding a .onException() into the direct://testsplitter route does

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

2011-02-10 Thread Christian Mueller
It would be great. Looking forward to hear from you... Christian -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p3379974.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Cannot handle Exception thrown from Splitter Expression

2011-02-10 Thread rmorris
I think I've found a similar case when the exception occurs within a split().method() In this case, the exception is thrown inside the method() and doesn't make it to the onException() handler. Adding a .onException() into the direct://testsplitter route doesn't seem to make any difference. Is t

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

2011-02-10 Thread cmoulliard
Will explain tomorrow morning how you can do that easily with your fusr rsb server ! Sent via BlackBerry offered by Proximus -Original Message- From: Christian Mueller Date: Thu, 10 Feb 2011 10:57:55 To: Reply-To: users@camel.apache.org Subject: Re: Problem with multiple CXF services u

Re: How to extend the Spring DSL ?

2011-02-10 Thread James Strachan
On 10 February 2011 13:08, sebastien.petrucci wrote: > >  Thanks for your comments James. > I will definitly looks closer at BAM and see what I can learn from it. > > My focus is currently on the XML DSL. I already made some components and I > agree that this is a usable and flexible solution, at

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

2011-02-10 Thread Christian Mueller
This is nice for the future. At present, we are using ServiceMix 4.2.0-fuse-02-00 which use Karaf 1.4.0.fuse-02-00 and I need a solution for this environment. Any doubts about my proposal (jetty.xml in ${SMX_ROOT} and reusing this central jetty instance)? Christian -- View this message in conte

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 cmoulliard
This has been implemented in karaf 2,2 which will be released soon Sent via BlackBerry offered by Proximus -Original Message- From: Christian Müller Date: Thu, 10 Feb 2011 18:43:04 To: Reply-To: users@camel.apache.org Subject: Re: Problem with multiple CXF services using the same https

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

2011-02-10 Thread Christian Müller
After a fresh cup of cafe, I think I have a good idea. Why not providing a jetty.xml file in ${SMX_HOME}/etc (like the activemq-broker.xml) and configuring jetty there. And in our (multiple) CXF bundle configurations, we using the already running Jetty as Charles suggested. Sounds also a good idea

Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-10 Thread James Strachan
I thought I'd bring this thread back to life again :). We've had a few other threads brainstorming and explaining this in the past... http://camel.465427.n5.nabble.com/implementing-Protocols-or-a-way-to-make-it-easier-to-black-box-routes-and-compose-them-with-other-ros-td3218777.html#a3218777 And

Re: How widely used is Camel?

2011-02-10 Thread chris_loftus
Thanks everyone for your interesting and useful replies. The number of routes was of interest to me since some research I'm doing will be looking into the static analysis of either the Spring or Java DSLs and I think it will only be useful if the routes are complex enough. Actually, it's messaging

AW: JMSConfiguration - Camel vs CXF

2011-02-10 Thread Christian Schneider
You should upload it somewhere and then send the link with a request for feed back to the list. Perhaps one of the free file hosters will do. Christian -Ursprüngliche Nachricht- Von: Jeffrey Knight [mailto:jeffrey.kni...@gmail.com] Gesendet: Donnerstag, 10. Februar 2011 17:01 An: users

Re: HL7 component release connection problem

2011-02-10 Thread Claus Ibsen
On Thu, Feb 10, 2011 at 1:22 PM, hoopzhou wrote: > > Ok. Thanks for you help. I will post the question to IPF google groups. Let us know how it goes there. If you don't get the help you need then just come back and we will take a look as well. It could be that there is some logic missing to spl

Re: JMSConfiguration - Camel vs CXF

2011-02-10 Thread Jeffrey Knight
On Tue, Feb 8, 2011 at 12:56 PM, Christian Schneider wrote: > [...] If you want to take the time and build an example this will surely be > added to the distro. I have the beginnings of an end-to-end sample using Camel in a WAR deployed to WebSphere. It reads files form a folder and uses JNDI re

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

2011-02-10 Thread Christian Müller
That's the same question I had (where can we configure the SSL). :-) If it's work, this will be grat! Christian

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 Moulliard, Charles
Hi, To avoid that jetty creates both HTTP servers competing for the same port number, you must use a relative path for the address address="https://0.0.0.0:8443:/Services/OrderEntry"; --> address="/Services/OrderEntry". In this case, the camel cxf servlet will be registered with the Servlet Engine

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

2011-02-10 Thread Christian Müller
Hello Ade! Good to hear from you. If we "only" use HTTP, everithing works well. I think the "httpj:engine-factory" config for HTTPS is the problematic configuration. I don't know whether there is another way to configure HTTPS for the CXF server. Because your suggestion "OSGi HTTP service" introdu

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

Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Mueller
Hello list! In our ServiceMix 4.2.0-fuse-02-00 we deployed multiple Camel bundles which provides web services using Apache Camel. In the first phase we used http for all services. All services used the same port number and different context paths. In phase two, we tried to switch all endpoints to

Re: How to extend the Spring DSL ?

2011-02-10 Thread sebastien.petrucci
Hi Mitko, I already looked at Open eHealth and this is indeed an interesting example. I also started to look at extending RouteBuilder but quickly figured out that it wouldn't be that easy. And since I'm currently more interested at using the XML DSL, it wouldn't help me much. But last night I

Re: How to extend the Spring DSL ?

2011-02-10 Thread sebastien.petrucci
Thanks for your comments James. I will definitly looks closer at BAM and see what I can learn from it. My focus is currently on the XML DSL. I already made some components and I agree that this is a usable and flexible solution, at least for "simple" actions (validation, enrichement, ...). Altho

Re: How to extend the Spring DSL ?

2011-02-10 Thread mitko . kolev
Hello Everyone, @Sebastian: maybe you could take a look at the Open eHealth integration Platform (named IPF). It has a Groovy DSL that extends the Camel Java DSL. Here is a link to get started http://repo.openehealth.org/confluence/display/ipf2/Core+features#Corefeatures-Scriptinglayer . If

Re: HL7 component release connection problem

2011-02-10 Thread hoopzhou
Ok. Thanks for you help. I will post the question to IPF google groups. -- View this message in context: http://camel.465427.n5.nabble.com/HL7-component-release-connection-problem-tp3378827p3379201.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to extend the Spring DSL ?

2011-02-10 Thread James Strachan
On 10 February 2011 11:25, sebastien.petrucci wrote: > > Thank you for your answer. > > I just would like to better explain what I'm doing. > > I work on a product which is an integration platform for the financial > world. This product is used in some banks and coporates. Our product is > built o

Re: HL7 component release connection problem

2011-02-10 Thread Claus Ibsen
On Thu, Feb 10, 2011 at 12:51 PM, hoopzhou wrote: > > Yes, I used the IPF framework. But I think this problem is not IPF's business > :) It certainly is. IPF is specialized in the health care industry where HL7 is a widely used protocol. The IPF team have in the past submitted patches to the cam

Re: HL7 component release connection problem

2011-02-10 Thread hoopzhou
Yes, I used the IPF framework. But I think this problem is not IPF's business :) I have tried the newest version of camel-hl7 component. It still happens. I was confused that why the body is "message A + message B" not "message B" as I described above without release connection. -- View this

Re: How to extend the Spring DSL ?

2011-02-10 Thread sebastien.petrucci
Thank you for your answer. I just would like to better explain what I'm doing. I work on a product which is an integration platform for the financial world. This product is used in some banks and coporates. Our product is built on top of another commercial ESB, for which we provide a number of s

Re: How widely used in Camel?

2011-02-10 Thread Christian Schneider
Hi Chris, I think it depends much on how camel is used. At my former employer - a utility company - we used camel directly in modules of applications. So for each module there were only about 5 to 10 routes. On the other hand there were a lot of these modules but each ran in an own deployment

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

2011-02-10 Thread Adrian Trenaman
Hi Chris, all, Like Claus, I also work for FuseSource. In my role as a consultant throughout EMEA I'm seeing huge adoption of Camel for integration solutions, most often deployed in ServiceMix but also deployed within ActiveMQ or Tomcat. Most of the time we see customers having a catalog of i

Re: HL7 component release connection problem

2011-02-10 Thread Claus Ibsen
Hi Have you tried upgrading to a newer Camel release? Are you using the IPF platform by any chance? http://gforge.openehealth.org/gf/project/ipf/ I spotted the ghl7 which I think is part of that framework. If so you may wanna ask in that community. On Thu, Feb 10, 2011 at 6:39 AM, hoopzhou