Thank you, Willem.
I'm in a catch block forgot to send the resulting error (IOException e) on
the top.
Aleksey
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP4-HttpProducer-close-temporary-file-in-CachedOutputStream-tp5716885p5716907.html
Sent from the Camel - Users mai
Thanks Ashwin,
I managed to get it working after referencing the url you shared,
although I not sure whether I did it in the standard manner.
exchange.getOut.setBody( myObj );
Is the the suggested method since its different from the sample you had
shared, partially due to I don't
Yeah, you could any CXF message context by looking up the CXF message
from the Camel message header.
On Tue, Aug 7, 2012 at 8:50 AM, helander wrote:
> Thanks,
>
> I got it to work:
>
>
> Message cxfMessage =
> exchange.getIn().getHeader(CxfConstants.CAMEL_CXF_MESSAGE, Message.class);
> HttpServle
The default capacity of the DefaultServicePool is 100, it looks like
pool is full after some invocation.
Can you fill a JIRA[1] submit a small test case to reproduce the
error? I could be helpful for us to trace the issue.
[1]https://issues.apache.org/jira/browse/CAMEL
Willem
On Mon, Aug 6, 2012
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[])
request.getAttribute("javax.servlet.request.X
It sounds good, I just create a JIRA[1] to trace this issue.
[1]https://issues.apache.org/jira/browse/CAMEL-5487
Willem
On Tue, Aug 7, 2012 at 3:25 AM, alexey-s wrote:
> I found a nasty bug.
> HttpProducer uses a temporary file within the object CachedOutputStream. If
> the static method doExtra
i was trying to open web.xml file through internet explorer i am getting an
error like
The system cannot locate the resource specified. Error processing resource
'http://java.sun.com/dtd/web- app_2_3.dtd'.
this web.xml belongs to Jboss-4.2.0.GA
the same file i can open through internet explorer
Maybe try something like this:
org.apache.cxf.message.Message cxfMessage =
camelMessage.getHeader(CxfConstant.CAMEL_CXF_MESSAGE,
org.apache.cxf.message.Message.class);
ServletRequest request = (ServletRequest)cxfMessage.get("HTTP.REQUEST");
--
View this message in context:
http://camel.465427
In general, yes. Have a look at the supported scripting languages...
Best,
Christian
Sent from a mobile device
Am 06.08.2012 21:15 schrieb "helander" :
> The result from an LDAP search (using camel-ldap) is of type
> ArrayList. Is it possible to "explore"
> the result, without using Java, e.g. a
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 procedu
Thank you, Sergey for your help!
I used your unit tests and tried to reproduce the problem, yet without
success. Still, one can reproduce the issue using JMeter and the working
project I've attached in the jira issue.
Regards,
Dumitru
On Sun, Aug 5, 2012 at 6:36 PM, Sergey Beryozkin-3 [via Camel
Hi Camel dev & Camel users,
the Call for Participation for ApacheCon Europe (5-8 November 2012 in
Sinsheim, Germany) has been extended to 13 August!
To submit a presentation and for more details, visit
http://apachecon.com/--early bird tickets go on sale this Monday, 6
August.
It looks like we h
Would using properties be acceptable as a solution (including
camel-jasypt maybe if you don't want the pwd in clear)?
Hadrian
On 08/06/2012 07:34 AM, Marco Crivellaro wrote:
hekonsek wrote
Ok. The good news is that I got a workaround for you :) .
Create the component without the FTP passwo
Hi,
I've got a problem calling an external CXF service with document/literal wrapped
binding style using the SoapJaxbDataFormat.
The SEI looks like this:
@WebService
@SOAPBinding(style=Style.DOCUMENT, use=Use.LITERAL,
parameterStyle=Pa
I am getting Route exception if i give the route in following manner:
/order/item/id
http://localhost:9002/REST-Webservice/rest/{header1}/WebService";
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.
Check out the Camel cache component page: [1]
The unit tests are also a good source to discover [2].
[1] http://camel.apache.org/cache.html
[2]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-cache/src/test/java/org/apache/camel/component/cache/
Best,
Christian
On Mon, Aug 6, 2012
I found a nasty bug.
HttpProducer uses a temporary file within the object CachedOutputStream. If
the static method doExtractResponseBodyAsStream get an error reading an
incoming message, we lose information on the temporary file.
I propose to add a block catch (IOException e) to trap the error and
Yeah, I think this is a good idea.
I thought by talking about the "message converter" you mean the Camel type
converter mechanism...
Best,
Christian
On Sat, Aug 4, 2012 at 7:09 AM, Pontus Ullgren wrote:
> I am talking about the (spring) jms message converter used by the jms
> component to creat
The result from an LDAP search (using camel-ldap) is of type
ArrayList. 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:
http://camel.465427.n5.nabble.com/Access-to-LDAP-search-resu
Hello,
I use a Netty endPoint to forward messages to a client. These messages come
from an another Netty endPoint.
After several forwarded messages, an error occurs on every forwarded
message:
DEBUG 2012-08-06 15:30:06,482 [New I/O worker #27]
org.apache.camel.component.netty.handlers.ClientCha
Hi,
Please check out this link showing a JmsInOnlyWithReplyToAsHeaderTest
example
http://
https://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToAsHeaderTest.java?view=markup
https://svn.apache.org/viewvc/camel/trunk/compo
> unfortunately our architecture is build around
> the endpoint uris (a third component provides the URIs), it is very
> difficult to apply your workaround (which is smart I have to say).
Maybe I'll figure out another way around your problem :) .
--
Henryk Konsek
http://henryk-konsek.blogspot.co
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.
hekonsek wrote
>
> Ok. The good news is that I got a workaround for you :) .
>
> Create the component without the FTP password defined in the
> parameters and then programatically set it on the endpoint.
>
I wish it was this easy... unfortunately our architecture is build around
the endpoint u
Maybe I have misunderstood things. I am trying to provide configuration for
the http server using the following feature definition:
org.osgi.service.http.port = 8181
org.osgi.service.http.port.secure = 8443
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://camel.465427.n5.nabbl
> since it is a major bug?
Ok. The good news is that I got a workaround for you :) .
Create the component without the FTP password defined in the
parameters and then programatically set it on the endpoint.
final String uri = "ftp://user@host/doveci";;
CamelContext camelContext = new DefaultCamel
> I saw you planned to fix it for Camel 2.11.0; is there a chance to have in
> 2.10 too since it is a major bug?
Yeah, I think that patch will be applied to 2.10 as well :) . But
first somebody need to nail the bug and provide the fix.
--
Henryk Konsek
http://henryk-konsek.blogspot.com
thank you Henryk.
I saw you planned to fix it for Camel 2.11.0; is there a chance to have in
2.10 too since it is a major bug?
Marco
--
View this message in context:
http://camel.465427.n5.nabble.com/URISupport-normalizeUri-different-result-from-camel-2-8-2-to-2-10-0-tp5716633p5716870.html
Sen
Dear All,
I'm facing some challenges with jmstemporarytopic.
Overview of the system. A web-app (non-camel)
publish a JMS with the replyTo set as follows:
TemoraryTopic replyTopic =
topicSubscriptionSession.createTemporaryTopic();
.
objMsg.setJMSReplyTo(replyTopic );
31 matches
Mail list logo