Property placeholder and JNDI

2014-03-05 Thread helander
I am running a number of Spring XML routes on a JEE server. I would like to configure parts of the uri:s used in the routes via ENC entries in my application (war). In my web.xml I have a number of env-entry declarations that holds the values to be injected into the uri:s of my routes. Is there

Re: JMS connections survive undeployment

2014-03-03 Thread helander
Just reporting that it is now a total success :) I added a doStop method in my component and in that method I just call destroy() on the CachingConnectionFactory object. Thanks for pointing out the solution /Lasse -- View this message in context:

JMS connections survive undeployment

2014-03-02 Thread helander
I am using JMS endpoints in a camel-servletlistener based application. In order to get better performance I use the Spring CachingConnectionFactory on my endpoints. An effect of this is that when I undeploy my application the active (cached) connections do not get destroyed (the seem to survive

Re: JMS connections survive undeployment

2014-03-02 Thread helander
Hi Claus, in order to stop it, I need to know when it is time to stop it. What would be an appropriate way to do this? Currently I create/start the pool as part of a custom camel component. Can I register something that gets executed when the camel context stops, or could I have a destructor on

Re: JMS connections survive undeployment

2014-03-02 Thread helander
Would something like this work ? In my custom camel component I will create and start the pool in the createEndpoint method. Further I would add an eventnotifier for CamelContextStoppedEvent to the context. In the eventnotifier I would then stop the pool. The thinking from my side is to have a

camel-servlet and multiple camel contexts

2014-02-22 Thread helander
I use camel-servlet together with camel-servlet-listener in a web application and it works fine for routes that are in the camel context created by the camel-servlet-listener. Now I want to have servlet consumer endpoints in other camel contexts. These other contexts are created dynamically by my

Web filter and camel-servlet

2014-01-16 Thread helander
It seems like camel-servlet bypasses web filters in my container. Is this correct? Anything that could be done to have the requests to the camel-servlet pass a web filter prior to hitting the camel-servlet? /Lasse -- View this message in context:

Re: Web filter and camel-servlet

2014-01-16 Thread helander
Hi Sergey, I am not sure what you mean by side-effects, but this is what I see (or really: NOT see) : I have a web application (WAR) that have a Web Filter and a Camel Servlet. This filter is used throughout a number of applications and is configured to be activated by all requests (/*) to the

Re: Web filter and camel-servlet

2014-01-16 Thread helander
The servlet has a name parameter. But if id had not have a name, would that have made any difference? /Lasse -- View this message in context: http://camel.465427.n5.nabble.com/Web-filter-and-camel-servlet-tp5746054p5746093.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel-soap schema validation

2013-11-08 Thread helander
Is it possible to do schema validation while unmarshalling SOAP XML messages using the camel-soap dataformat? -- View this message in context: http://camel.465427.n5.nabble.com/camel-soap-schema-validation-tp5742850.html Sent from the Camel - Users mailing list archive at Nabble.com.

Using pre-allocated Exchange with Proxy

2013-05-15 Thread helander
When I use a camel proxy, e.g. via a ProxyBuilder, I have not found any way that my proxy client could inject additional (properties or message headers) to the Exchange that will be used. The things I would like to inject is only available at the client so it cant't be injected further down the

Re: Skip multiple leading lines in CSV file

2013-05-05 Thread helander
Hi Claus and thanks for the info. I will probably do as you suggest, I just wanted to make sure that there was no out-of-the-box way provided by Camel before I went ahead :). Thanks Lasse -- View this message in context:

Skip multiple leading lines in CSV file

2013-05-04 Thread helander
I intend to consume a fairly big CSV type file using camel-bindy. The file do have a fixed amount of lines at the start of the file before the actual CSV data starts. What would be the best/easiest way to remove these initial lines. I guess that I somehow need to strip them off before the data

Re: Handling of SOAP Faults with camel-soap

2013-04-22 Thread Lars-Erik Helander
iPhone 22 apr 2013 kl. 10:45 skrev Claus Ibsen claus.ib...@gmail.com: Hi CamelExecutionException is usually thrown if you use the producer template api. On Sun, Apr 21, 2013 at 3:08 PM, helander leh...@gmail.com wrote: I would appreciate some assistance regarding how to handle

Handling of SOAP Faults with camel-soap

2013-04-21 Thread helander
I would appreciate some assistance regarding how to handle received Soap Faults when using the camel-soap component. I am using SoapJaxbDataFormat and ServiceInterfaceStrategy. When the received response is a Soap:Fault message I get an exception when it is unmarshalled, however the exception is

Problem with camel-cdi on Weblogic

2013-04-11 Thread helander
I did deploy an application that uses camel-cdi (2.11-SNAPSHOT) on Weblogic, and it failed to start. The same application works fine on JBoss. I then built the camel-example-cdi war and deployed it on Weblogic and it failed to start with the same reason as my own application. The Weblogic server

Problems using camel-cdi and camel-cxf

2013-04-09 Thread helander
I have tried to use the new camel-cdi from 2.11 with camel-cxf ( and the CXFNonSpringServlet) and get the following problem: I need to make sure that the CXF servlet is initialized prior to the creation of the routes/context that will use the servlet. However the CDI container initializeds my CDI

Re: Only one cxf endpoint exposed using non-Spring CXF servlet

2013-04-03 Thread helander
Since I got no feedback on this, I wonder if I might have better luck with posting this on the CXF User list? Anyone that has successfully used the CXF non-spring servlet in combination with Camel CXF consumers and that are willing to share how you made it to work? Thanks Lars -- View this

Only one cxf endpoint exposed using non-Spring CXF servlet

2013-04-01 Thread helander
I am using trying too use the non-Spring CXF servlet (JBoss web container) @WebServlet(value=/mycxf/*, name=MyCxfServlet) public class CxfServlet extends CXFNonSpringServlet { public void init(ServletConfig sc) throws ServletException { setBus(BusFactory.getDefaultBus());

Re: Populate message with BeanInvocation

2013-03-19 Thread Lars-Erik Helander
://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Tuesday, March 19, 2013 at 4:15 AM, helander wrote: In a route I would like to fill the message with a BeanInvocation

Re: CDI in 2.11

2013-03-18 Thread Lars-Erik Helander
... Best, Christian On Sun, Mar 17, 2013 at 6:37 PM, helander leh...@gmail.com wrote: Thanks Christian, I guess that there is no documentation available yet? I scanned thru the example in 2.11-SNAPSHOT but it does not seem to cover all aspects indicated by the JIRA (and the 2.11 sources

Re: Exchange lifecycle

2013-03-18 Thread Lars-Erik Helander
is bound to route, but that it is bound to Exchange makes more sense :). Thanks Lars Skickat från min iPhone 18 mar 2013 kl. 09:26 skrev Claus Ibsen claus.ib...@gmail.com: On Sun, Mar 17, 2013 at 11:19 AM, helander leh...@gmail.com wrote: Can someone clarify the following: When an exhange

Populate message with BeanInvocation

2013-03-18 Thread helander
In a route I would like to fill the message with a BeanInvocation, the same way as when using .bean(), but I do not want the bean method to be called. Is there some easy way to do this (preferably using similar syntax as when using .bean() ) ? Thanks Lars -- View this message in context:

Exchange lifecycle

2013-03-17 Thread helander
Can someone clarify the following: When an exhange is passed between routes, e.g. using direct or direct-vm, is then a new exhange created or is it the same exhange that will be used in the target route? If it is the latter, will the context bound to the exhange be updated or will it retain its

CDI in 2.11

2013-03-17 Thread helander
The page at http://camel.apache.org/camel-2110-release.html mentions that a lot of new features will be available in relation to CDI. Is there some place where more information about the upcoming features is available? Thanks Lars -- View this message in context:

Re: CDI in 2.11

2013-03-17 Thread helander
Thanks Christian, I guess that there is no documentation available yet? I scanned thru the example in 2.11-SNAPSHOT but it does not seem to cover all aspects indicated by the JIRA (and the 2.11 sources). Are there any planned features for CDI in 2.11 that is not yet in the SNAPSHOT code? Is this

Re: Register beans

2013-03-13 Thread Lars-Erik Helander
Ok, thanks for the clarifcation and the hint about the composite registry. Lars Skickat från min iPhone 12 mar 2013 kl. 13:12 skrev Claus Ibsen claus.ib...@gmail.com: On Tue, Mar 12, 2013 at 10:26 AM, helander leh...@gmail.com wrote: Fom Java code I would like to register beans

Register beans

2013-03-12 Thread helander
Fom Java code I would like to register beans in the context registry. I need to do this in code that will deployed in various containers (Spring, JEE web applications). Is there some method that works in all these environments (hiding from my code the current registry implementation) or do I have

Create CXFEndpoint using Java

2013-03-05 Thread helander
I have a route that starts with from(cxf:bean:foo )i.e. Java DSL I need to create/register the bean foo from Java, is that possible? Where can I find a working example? Thanks Lars -- View this message in context:

Re: Create CXFEndpoint using Java

2013-03-05 Thread helander
Thanks Claus, since I am not using Spring what class shall I use for the bean? CxfEndpoint? Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Create-CXFEndpoint-using-Java-tp5728570p5728573.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel contexts not removed when WAR deployed on JBoss AS 7

2013-03-04 Thread helander
I have a web application that creates a couple of camel contexts. I was surprised to see that when I redeployed my application, the camel contexts created by the old application instance was still visible via jconsole after having redeployed the application (along with the set of contexts created

Re: Camel contexts not removed when WAR deployed on JBoss AS 7

2013-03-04 Thread helander
JBoss AS 7 (version 7.1.1 Final) I do not use any Spring. Context#1: Singleton EJB. The bean class extends DefaultCamelContext Context#2: SessionScoped CDI bean. The bean class extends DefaultCamelContext All deployed by a single WAR. Thanks Lars -- View this message in context:

Re: Camel contexts not removed when WAR deployed on JBoss AS 7

2013-03-04 Thread helander
I did suspect that, especially sine the contexts disappeared from jconsole once i stopped them (using jconsole). I will add proper desctruction code on my beans and hopefully the problem will go away. Thanks Lars -- View this message in context:

Re: Camel contexts not removed when WAR deployed on JBoss AS 7

2013-03-04 Thread Lars-Erik Helander
Just confirming that stopping the contexts in my bean destructors (@PreDestroy) fixed the problem ;) Thanks Lars Skickat från min iPhone 4 mar 2013 kl. 15:37 skrev helander leh...@gmail.com: I did suspect that, especially sine the contexts disappeared from jconsole once i stopped them

Re: Dynamic data format in route

2013-02-04 Thread Lars-Erik Helander
Ok, thanks for the info Skickat från min iPhone 4 feb 2013 kl. 09:19 skrev Claus Ibsen claus.ib...@gmail.com: On Sun, Feb 3, 2013 at 4:17 PM, helander leh...@gmail.com wrote: I have a route that creates Soap requests/responses using camel-soap. The route should handle arbitrary soap

Re: Reading a file

2013-02-03 Thread helander
Christian, thank you very much, it helped /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Reading-a-file-tp5726376p5726852.html Sent from the Camel - Users mailing list archive at Nabble.com.

Dynamic data format in route

2013-02-03 Thread helander
I have a route that creates Soap requests/responses using camel-soap. The route should handle arbitrary soap services which means that I can not define the dataFormat when the route is built. As of now, I create the dataFormat in a processor and put it into an exchange property. My idea was to be

Re: Reading a file

2013-01-28 Thread Lars-Erik Helander
...@gmail.com: Don't understand. You have to do something else BEFORE you can read the file? Or AFTER reading the file and BEFORE you transform the content? Sent from a mobile device Am 27.01.2013 20:47 schrieb helander leh...@gmail.com: Hi Christian, sounds simple :) However before

Re: Dynamically building endpoint

2013-01-27 Thread helander
Hi Claus, I got it to work. Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Dynamically-building-endpoint-tp5726286p5726370.html Sent from the Camel - Users mailing list archive at Nabble.com.

Reading a file

2013-01-27 Thread helander
I am trying to find a way to do: From a Producer Template send a request to a route, and in the route I would like to read the contents of a file, transform the contents and return back to the producer template. Location and name of file is fixed and the file should not be moved/removed by the

Re: Reading a file

2013-01-27 Thread helander
Hi Christian, sounds simple :) However before the consumer can consume the contents of the file, it needs to be processed by some additonal (route)-steps, how would I do that? Thanks Lars -- View this message in context:

Dynamically building endpoint

2013-01-25 Thread helander
I have a bean, lets call it b and a property P on the exchange. I want to send the exchange to an endpoint with the URI: foo: + b.getSomeValue(getProperty(P)) + :bar: + b.getSomeOtherValue(getProperty(P)) + :suffix Is it possible to do this using to(...) or toF(...) ? If so, what would the

Advice on solution wanted

2013-01-21 Thread helander
Given the following scenario, what would the best solution be. Given is: - A remote SOAP service is available over a JMS transport. - The service is described by a WSDL. - I generate an interface class (wsdl port type) from the wsdl using wsdl2java (cxf-codegen-plugin) - Applications that

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-16 Thread helander
I have now changed my client to be a JaxWS Proxy and this works fine, however the cxf client proxy injects XML messages into the route (sends to the camel context over a cxf bus). Can I somehow have the client send it as POJOs instead, so that I can process the POJOs in the route before sending

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread helander
Hi Willem, that helped a lot. I am now getting the request message to the route that receives the request from the cxf client. It is of type java.IO.InputStream, how do I make it into a structure where I can read the xml elements, i.e. similar to PAYLOAD format? Can I convert it back to POJO (not

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread helander
Do you mean something like this: from(cxf:bean:nameofendpointbean).to(.. What address do I put on the endpoint bean ? What adress do I specify in the cxf client ? Thanks Lars -- View this message in context:

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread helander
Willem, thanks for the clarification. Lars -- View this message in context: http://camel.465427.n5.nabble.com/Producing-consuming-SOAP-messages-to-from-POJOs-using-camel-cxf-tp5724949p5725028.html Sent from the Camel - Users mailing list archive at Nabble.com.

Support for Google Cloud Messaging

2012-12-27 Thread helander
The camel-apns component provides ability to send messages to iOS devices. Are there any similar component, as part of camel or provided elsewhere, that could be used in a camel route to send messages to Android devices via Google Cloud Messaging (GCM)? Thanks Lars -- View this message in

Re: Support for Google Cloud Messaging

2012-12-27 Thread helander
Claus, thanks for the feedback. GAE is an application server and not a GCM server, so I do not think it is the tool I need. A quick look into the GAE did not expose any GCM API:s. Even if it would provide a GCM API within GAE, I would need a GCM API available in an arbitrary standard Java

Re: Error handling when using camel-cxf

2012-12-13 Thread helander
Aki, thanks for the feedback. At the moment I am only using request/response (InOut). If the service (called by the end of the route) returns a SOAP Fault, will then the cxf-endpoint make sure that the http status code returned to the caller becomes 500? Do the cxf-endpoint force the return of

Re: Camel Monitoring Tool

2012-11-21 Thread Lars-Erik Helander
I provided an example application using jolokia on the camel user list a couple of months ago. If you search the mailing list for jolokia you will probably find it. In case you want to get it and don't find it, let me know. Thanks Lars Skickat från min iPhone 21 nov 2012 kl. 12:36 skrev Claus

Re: Dynamic jms destination from wsdl?

2012-10-16 Thread Lars-Erik Helander
(http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Sunday, October 14, 2012 at 9:10 PM, helander wrote: In a route that starts with a cxf-endpoint and ends with a jms-endpoint, I

Dynamic jms destination from wsdl?

2012-10-14 Thread helander
In a route that starts with a cxf-endpoint and ends with a jms-endpoint, I would like to extract the jms destination from a port in the wsdl configured on the cxf-endpoint. The port in the wsdl contains the jms-uri of the destination to be used by the jms-endpoint. I know how to dynamically set

RE: Connection pooling with camel-amqp

2012-08-22 Thread helander
I have come up with a workaround to the NPE problem with Qpid. The root of the problem is that Qpid is not able to correctly compare two destinations that has not been fully qualified in their definitions. In other parts of the Qpid API, assumptions are made on how to interpret destinations that

RE: Connection pooling with camel-amqp

2012-08-22 Thread helander
I discovered that the most interestinf info was lost in my previous post (was using the raw tag in Nabble, and that seemed to be filtered by e-mail systems). So here it comes again: I have come up with a workaround to the NPE problem with Qpid. The root of the problem is that Qpid is not able

Re: Connection pooling with camel-amqp

2012-08-22 Thread helander
Hi Claus, I will take a stab at updating the page. As you suggest I will file an ICLA. Thanks for providing the details about editing pages. /Lasse -- View this message in context: http://camel.465427.n5.nabble.com/Connection-pooling-with-camel-amqp-tp5716936p5717837.html Sent from the

Re: IBM J9 VM and transactions

2012-08-21 Thread Lars-Erik Helander
I experienced a similar thing the other day. Things did not work as expected and console outprints related to some XML parsing problems. After some googling i found that the problem might relate to IBM J9. I checked my system and found out that it had bern started with the IBM JVM. When

Re: Proof of concept for Camel Web Interface

2012-08-16 Thread Lars-Erik Helander
code or something? On Tue, Aug 14, 2012 at 10:24 PM, helander leh...@gmail.com wrote: Hi, I would like to share with anyone interested a prototype I have made for a Web interface to Camel. It is based on Jolokia (http://jolikia.org) which is a JMX agent that provides access via http. Along

Proof of concept for Camel Web Interface

2012-08-14 Thread helander
Hi, I would like to share with anyone interested a prototype I have made for a Web interface to Camel. It is based on Jolokia (http://jolikia.org) which is a JMX agent that provides access via http. Along with jolokia comes client interface libraries for Javascript and Java. The Jolokia agent is

Re: Camel JMX Component query

2012-08-13 Thread helander
Claus Ibsen-2 wrote We love contributions, however I wonder how easy it would be to setup a syntax for specifying which JMX attributes you want to poll? That may get message pretty quickly, if you need to configure this in a from uri style. To some extent I think you can compare this

Re: Connection pooling with camel-amqp

2012-08-09 Thread helander
Sergey, I have added a comment to QPID-3760. As for your list (thank you btw): 1) tcp_nodelay is default (since 0.14) OK 2) no transacted session OK 3) non-persistent messages OK 4) cachingLevel = 3 OK 5) cachingLevel = 3

Re: Connection pooling with camel-amqp

2012-08-08 Thread helander
Hi Michal, before I try that, I think I will try to investigate why they are null. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Connection-pooling-with-camel-amqp-tp5716936p5716980.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Connection pooling with camel-amqp

2012-08-08 Thread helander
Hi Christian, I found this JIRA earlier today, and most likely it is the same problem. The equals() function does not seem to deal with all possible varaints of destination definitions. I am in the process of trying out a fix, but I have not yet been able to build a new qpid-client. Will

Re: Connection pooling with camel-amqp

2012-08-08 Thread helander
I have tested the fix in org.apache.qpid.client.AMQDestination.equals(), and now it works. I just made sure that no null valued references were used. Hopefully the qpid project will fix this soon. For my case, the fix I made helps, but I do not know if there may be situations where it could

Re: Access to LDAP search results

2012-08-07 Thread helander
Hi Henryk, thank you very much for the provided example. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Access-to-LDAP-search-results-tp5716883p5716914.html Sent from the Camel - Users mailing list archive at Nabble.com.

Connection pooling with camel-amqp

2012-08-07 Thread helander
I have tried to get a working solution for connection pooling/caching with camel-amqp. I found some examples that used the Spring CachingConnectionFactory, but when using that it get an NPE. The first time I do a write to a queue, it works, but subsequent writes causes an NPE. It looks like the

Re: Connection pooling with camel-amqp

2012-08-07 Thread helander
This is part of an OSGi blueprint xml file. bean id=myConnectionFactory class=org.apache.qpid.client.AMQConnectionFactory argument value=amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672' / /bean bean

Re: Connection pooling with camel-amqp

2012-08-07 Thread Lars-Erik Helander
Michal, my stack trace is more or less identical (java source line numbers are not identical). Do you have any idea how to work around this, patch qpid code or other solution? Creation of new connection and destination validation on each operation introduces significant overhead. I turned on

Re: Use camel-cache constants in Blueprint DSL

2012-08-06 Thread helander
Thanks, I found the information that the syntax had changed (now with the Camel prefix). I also found discussions about being able specify these things in the cache: uri, but did that ever make its way into any release? /Lars -- View this message in context:

http server config from feature

2012-08-06 Thread helander
Maybe I have misunderstood things. I am trying to provide configuration for the http server using the following feature definition: feature name=httpserver-config version=1.0.0 config name=org.ops4j.pax.web org.osgi.service.http.port = 8181

Re: http server config from feature

2012-08-06 Thread helander
Sorry, I sent this to the wrong list. Will resubmit it to the proper list. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/http-server-config-from-feature-tp5716876p5716878.html Sent from the Camel - Users mailing list archive at Nabble.com.

Access to LDAP search results

2012-08-06 Thread helander
The result from an LDAP search (using camel-ldap) is of type ArrayListjavax.naming.directory.SearchResult. Is it possible to explore the result, without using Java, e.g. access via simple or some other script language? Thanks Lars -- View this message in context:

Re: Use camel-cache constants in Blueprint DSL

2012-08-06 Thread helander
Thanks Christian. Especially the hint about looking at test cases. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Use-camel-cache-constants-in-Blueprint-DSL-tp5716843p5716889.html Sent from the Camel - Users mailing list archive at Nabble.com.

HttpServletRequest associated with CXF endpoint

2012-08-06 Thread helander
Is it possible to retrieve the HttpServletRequest associated with exchanges on a CXF Endpoint? I would like to access the client certificate associated with an HTTPS request using: request.getAttribute(javax.servlet.request.X509Certificate) Now, I do this using the following procedure,

Re: HttpServletRequest associated with CXF endpoint

2012-08-06 Thread helander
Thanks, I got it to work: Message cxfMessage = exchange.getIn().getHeader(CxfConstants.CAMEL_CXF_MESSAGE, Message.class); HttpServletRequest request = (HttpServletRequest)cxfMessage.get(HTTP.REQUEST); X509Certificate[] certs = (X509Certificate[])

Use camel-cache constants in Blueprint DSL

2012-08-05 Thread helander
How do I use camel-cache constants, e.g. CacheConstants.CACHE_OPERATION, in Blueprint DSL? Short example would be nice. Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Use-camel-cache-constants-in-Blueprint-DSL-tp5716843.html Sent from the Camel - Users

Re: camel-cache questions

2012-08-04 Thread helander
Christian, thank you very much. The provided link was very helpful. Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/camel-cache-questions-tp5716755p5716823.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel-cache questions

2012-08-03 Thread helander
Hi, first of all, I guess that a cache instance is accessable from components in the same VM, i.e. not bounded to a specific camel context or route? By big question is related to the following scenario: I have a set of CXF Endpoints and associated routes. At the end of the routes, a

Caching LDAP results

2012-08-02 Thread helander
Hi, does the LDAP component cache any lookups, in order to limit interactions with the LDAP server, or does each request result in an interaction with the server? If it's not caching, is there any way you could use some Camel component to create a cache? Thanks Lars -- View this message in

Re: Caching LDAP results

2012-08-02 Thread helander
Hi, thank you very much for the information. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Caching-LDAP-results-tp5716714p5716724.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-nmr for camel 2.10

2012-07-25 Thread helander
When reading about the vm component it is described to be asynchronous, so it would not fit the request/reply case. Unless you build two separate paths, one for request and one for reply. Or did I miss something? /Lars -- View this message in context:

Re: camel-nmr for camel 2.10

2012-07-25 Thread helander
Ok, thanks. The description of *vm* does not state anything about being able to use in an osgi container, while the *direct-vm* page is very explicit about this. My interpretation was that *vm* did not support crossing bundle boundaries. Whatever the capability is for *vm*, maybe it woul be nice

camel-nmr for camel 2.10

2012-07-24 Thread helander
Where can I find a version of the *camel-nmr* component that works with camel *2.10*? I need to communicate between contexts in different osgi bundles (using Karaf). I tried to use the *camel-context* component, but it does not seem that it works between contexts in different bundles, correct?

Re: camel-nmr for camel 2.10

2012-07-24 Thread helander
Thanks Christian, I need InOut and I do want to avoid serialization/deserialization (for performance reasons), and then the only option left is NMR, if I have understood things correctly. I will try to use camel-nmr from servicemix 4.4.2, and hope that it works with camel 2.10.0 and Karaf 2.2.8

Re: camel-nmr for camel 2.10

2012-07-24 Thread helander
I got camel-nmr to work, but performance was not very good. WS Client - HTTP Service - CXF Endpoint - NMR send - NMR receive (and back to WS Client) this takes about 100 ms WS Client - HTTP Service - CXF Endpoint (and back to WS Client) this takes about 10 ms So crossing the bundle

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-22 Thread helander
Hi Sully and thanks for the input. Now I think I know how it works, but I have an additional question: Both entries in the config file specifies http://localhost:8181;, is it possible do something like: http://localhost:8181/system/console; on one and http://localhost:8181/cxf; on the other

Re: Forced termination of the current exchange and returning appropriate response code

2012-07-21 Thread helander
Hi Claus, thanks for the suggestions. This will help a lot. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Forced-termination-of-the-current-exchange-and-returning-appropriate-response-code-tp5716235p5716306.html Sent from the Camel - Users mailing list archive at

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Willem, thanks for the clarification regarding the registration of the cxf servlet. May I propose to add a configuration parameter to cxf that defines a service lookup filter to be used when cxf finds the http service. This should be fairly simple to introduce, if the filter config is defined then

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
I just realized from your description that CXF does not explicitly register with the http services, but rely on the Pax Web Whiteboard extender to perfom the registration. This means that it would not be possible to use a service filter between CXF and the http service (the whiteboard extender

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Hi Scott, I need to look more into your suggested solutions. Can I find more detailed information about them somewhere? Could you elaborate a bit more on what this means? locking Karaf's HTTP Service to local host Thanks Lars -- View this message in context:

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Hi Scott, and thank you very much for the information you provided so far. I am looking forward for the additional details you so kindly intended to provide. However at this point I do not understand how this will going to solve my requirements, but maybe that will be totally clear when you

cxfEndpoints and different transports (http, https) using PAX Web

2012-07-18 Thread helander
I am using cxfEndpoints with Pax Web in a Karaf container (and Camel routes consuming from these endpoints). I like the way that I only have to specificy the address relative to the http://cxf context in my endpoints, but I would like to limit the available transport for the endpoint to https.

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-18 Thread helander
Hi Christian, I am using Karaf 2.2.8. I wanted to create a setup where I had two separate web servers (two Pax Web instances) each with its own set of configuration parameters (port numbers, security settings etc). Access to my cxf endpoints should only be possible via one of these web servers.

Re: Camel Web Console and OSGi

2012-07-12 Thread helander
I like the commands provided by the camel karaf component, but for my current case I need a GUI. As you point out, I would need access to camel objects from arbitrary bundles. /Lars -- View this message in context:

RE: Camel Web Console and OSGi

2012-07-12 Thread helander
I tried camelwatch and got it to work when I deployed in tomcat, connecting to camel running in karaf. I also tried to deploy the camelwatch WAR to karaf, but I get some spring related exception. For now I am satisfied with being able to use camelwatch from outside my karaf container, but I in the

Re: Camel Web Console and OSGi

2012-07-12 Thread helander
Thanks, I will take a look at it and see if I could get something to work. /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Web-Console-and-OSGi-tp5715906p5715946.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Web Console and OSGi

2012-07-11 Thread helander
What is the current state regarding running the Camel Web Console in OSGi? Is someone working on this or is it already available ? /Lars -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Web-Console-and-OSGi-tp5715906.html Sent from the Camel - Users mailing list archive