Hi,
Nope, I am POSTing binary data as the body with a content-type of '
application/octet-stream', and am sending additional parameters in the URI
Query that are not appearing as Camel headers.
Perhaps this is not 'best practice', and the body should be multipart MIME
encoded so it can be POST'e
Hi,
I have a sistuation in which i use a network connector to communicate with
another broker,
my problem is that when the other networked connector is turned off,
activemq still trys to send a message to
i'm using producertemplate in camel btw,
object.sendRequest(body, "activemq:financials");
I have made a test in Geronimo with camel-core, camel-spring jars added in
the folder lib but I got the same error as Ulise.
007 ERROR [GBeanInstanceState] Error while starting; GBean is now in the
FAILED state:
abstractName="org.apache.geronimo.configs/activemq-broker/2.2/car?ServiceModule=org.a
I just did a quick test on camel trunk, you can get the URL parameters
by using the
exchange.getIn().getHeader(Exchange.HTTP_QUERY)
When you post the binary data with URI Query.
I just took a look at camel-http and found we could parser the URL
parameter for the post method.
So I created a JI
This does not sound right. The store and forward should happen async and
should block pending a reconnect of the networkconnector in the event of a
failure of the second broker.
Can you post your activemq configuration?
An active network connector is visible in JMX so you could validate its
state
Here is a networkbroker , i have an activemqcomponent which connects to
broker client broker.
in turn client broker is connected to another broker
Here is th
Claus Ibsen-2 wrote:
>
> Yes you need to pass in this header every time you want to session closed.
>
I'm pretty convinced that this isn't happening for me despite passing in the
header that I want the session closed when complete (which I presume is when
I get a reply). Here's my log file:
Hey camel riders
I have tried the PassivefixGateway example in the test source, but it did
not behave as expected. Though it's supposed route async responses back to
the client it simply wont. Looking at the source, I reckon this behavior is
by design, since the Processor registered with the "qui
Hi,
i created a customer jetty security handler and configured the spring
configuration file accordingly.
In the security handler i use my own "exec" camel component for the
authentication.
In short my "exec" component can executes external programs and makes use of
the
apache-commons-exec libra
using Apache Camel 2.1 and Spring,
route: File -> Processor -> (cxf) -> Log
When ...
/_work/test/from/1.txt
if I run test case, 1.txt file was moved to
/_work/test/from/.done (not directory!)
But I want
/_work/test/from/.done/1.txt
[[te
Quite honestly, I'm not sure why the CXF stuff in Camel has to be so
complex. To me, it should be based more on the technology in CXF that
supports the JAX-WS Dispatch/Provider stuff (or implemented via the JAX-WS
Dispatch/Provider stuff). In this case, if it was a "PAYLOAD" mode
Provider, it
I could be wrong but I think when camel-cxf PAYLOAD mode was developed,
the CXF Dispatch/Provider interface support wasn't quite ready (or we
haven't done enough due diligence). I agreed with you the benefit. We
could rewriting it using the Dispatch/Provider APIs. However, I
seriously doubt
Hi
Could you try with 2.2-SNAPSHOT ?
It is a bit odd since Camel should pickup .done as a relative directly
and not as a absolute filename.
You can also try to use
move=.done/${file:name}
Which should be what Camel translates .done to under the covers.
On Thu, Jan 21, 2010 at 5:08 PM, ariabl
Hi,
I am creating a simple flow uploading files using FTP and FTPs.
Here is the process definition:
I drop a file in a folder, Camel picks it up and uploads it to the
server. Everything works perfectly.
My problem is that I would like to disconnect from the FTP server
(terminate session) ev
Debug the code :)
You should see this in the DEBUG log
LOG.debug("Closing session when complete");
On Thu, Jan 21, 2010 at 11:49 AM, huntc wrote:
>
>
> Claus Ibsen-2 wrote:
>>
>> Yes you need to pass in this header every time you want to session closed.
>>
>
> I'm pretty convinced that this
As another option, you can use the cxfbean compound but your bean
needs to have JAXWS annotations.
http://localhost:9090?matchOnUriPrefix=true"; />
Please see the unit test here:
https://svn.apach
Hey Gunnar,
you are right. At present, we disconnect only after a failed write/upload
from the server. Currently you have no choice to configure a session
disconnect after a write.
@Claus: Should Gunnar open a JIRA ticket for that or won't we change this?
Regards,
Christian
On Thu, Jan 21, 2010
Hi Dan,
What we do in camel-cxf is try to reuse everything what CXF can provide.
First we use the cxf-simple-front and cxf-jaxws-front endpoint to export
or consumer the WS services, then we provides MESSAGE, and PAYLOAD
DataFormat by massage the interceptors ourself, then we have cxfBeans,
cx
I upgraded to camel 2.2-SNAPSHOT and my project fails to compile as it looks
like camel-spring:tests-jar is missing? All the other components downloaded
fine, I did lookup in camel snapshot repository and did not find specified
jar there as well.
Here is mvn error stack trace:
[INFO]
---
Hi,
I was looking for some performance metrices on how camel 1.6.x performs vs
2.x? Since there are lot of platform improvements in camel 2.x, how does it
fair as compared to 1.6.x?
I upgraded my app recently and my app and load test is showing degraded
results and only change being upgrade to c
My 2 cents is that it's a worthwhile option to have, many FTP servers
would close the connection on you after a timeout anyway.
On Thu, Jan 21, 2010 at 4:02 PM, Christian Müller
wrote:
> Hey Gunnar,
>
> you are right. At present, we disconnect only after a failed write/upload
> from the server. C
Hi,
Clause did some performance enhancement in Camel 2.x.
Here is the wiki page[1].
Can you show us your camel route ? That could be helpful for us to dig
the issue.
Willem
tide08 wrote:
Hi,
I was looking for some performance metrices on how camel 1.6.x performs vs
2.x? Since there are lot
I think you can avoid to use the camel-spring:tests-jar by using
camel-test.jar in your test.
We introduced camel-test module in camel 2.x to avoid user's test
dependency on the tests-jar.
Willem
tide08 wrote:
I upgraded to camel 2.2-SNAPSHOT and my project fails to compile as it looks
like c
On Thu, Jan 21, 2010 at 10:02 PM, Christian Müller
wrote:
> Hey Gunnar,
>
> you are right. At present, we disconnect only after a failed write/upload
> from the server. Currently you have no choice to configure a session
> disconnect after a write.
>
> @Claus: Should Gunnar open a JIRA ticket for
Hi
I have created the ticket
https://issues.apache.org/activemq/browse/CAMEL-2391
And also implemented this new feature.
There is a new option disconnect=true which will disconnect from the
remote ftp server right after use.
It can be used on both the consumer or producer side.
Will be in the n
25 matches
Mail list logo