I was testing the function of a websocket server which supports JSON RPC
2.0. The Chrome js client works correctly. But when I use AHC-WS the
request returns directly, and I cannot find any post that can Help me to get
the server response.
Can anyone help?
--
View this message in context:
I thought I had tried that but I must have gotten the syntax wrong.
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/Debug-exec-of-python-script-tp5791982p5791984.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Did you try logging the headers?
.log( “Stderr: ${header[CamelExecStderr]} )
or
.log( “Exit Value: ${header[CamelExecExitValue]} )
Quinn Stevenson
qu...@pronoia-solutions.com
(801) 244-7758
> On Dec 28, 2016, at 2:13 PM, jgewehr wrote:
>
> I'm trying to figure out why
I'm trying to figure out why my exec of a python script is failing. My route
looks like this:
from.("sftp")
.to("file...")
.to("exec:test.py")
.to("log:foo?showAll");
So I'm transferring a file from an SFTP server to the local filesystem, and
then I want to run a python script on it. The
Try this
> On Dec 22, 2016, at 12:45 PM, Baltej Singh wrote:
>
> Tring to create a simple counter to track some stats, not using the metrics
> related components.
> Just need to log execCount and do execCount++ everytime route is entered.
> What is the syntax for
If I’m reading the error message correctly, it’s failing to set the bus
attribute for the cxfcore:bus element because it’s looking for a
org.apache.cxf.Bus object and not a String, and it can’t find an object named
sfsfBus in the registry. I don’t use CXF much, but I’d check the
One clarification on this (since it really threw me off for a while).
camel-blueprint and camel-spring-dm both include the classes from
camel-core-osgi when they are packaged, while camel-scr references them from
their own bundle. What that means is if you install camel-blueprint feature,
you
How do you know that the route has stopped? Can you start jconsole and
look into the mbeans tabs to confirm that it has stopped?
On 28.12.2016 02:25, axdz wrote:
> I know camel should not stop.
> Here, when camel route is running,* I stop activeMQ server and then camel
> route also stops.*
>
>
Thanks for replying,
Indeed, I solve my problem by adding this line in my camel response
processor:
exchange.getIn().setHeader(Exchange.CHARSET_NAME, "iso-8859-1");
now Soap UI correctly displays the é è @ ... etc so thank you ...
In my properties files in change from
Caméléon to
Yes, Claus is right.
Additionally I find helpful this FAQ for handling some encoding problems:
https://wiki.apache.org/tomcat/FAQ/CharacterEncoding
On 28 Dec 2016 1:17 p.m., "Claus Ibsen" wrote:
> For properties files you need to specify the special chars in an
> encoded
Thank you Sergey Beryozkin. It works.
--
View this message in context:
http://camel.465427.n5.nabble.com/Passing-Files-and-String-to-REST-service-in-Camel-tp5791968p5791973.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Charles,
Can you help me with this issue. I still couldn't find a solution for this.
Thanks!
Regards,
Shiva
--
View this message in context:
http://camel.465427.n5.nabble.com/Multiple-camel-producers-instantiated-tp5781152p5791972.html
Sent from the Camel - Users mailing list archive at
Hi
MultipartBody is a container for multiple attachment parts - you can get
multiple parts from this object.
Alternatively you can have two method parameters instead:
@Multipart("name") String name
@Multipart("uploadedFile") InputStream file
or may be only
@Multipart("uploadedFile")
For properties files you need to specify the special chars in an
encoded way. You can search the internet about this.
For HTTP you may need to set the content-encoding header to something
that supports those characters.
On Wed, Dec 28, 2016 at 10:14 AM, bdeweer
Hi,
I want to create a web service which accepts files(.png, .pdf, .txt) and
a String. Previously I created a service that accepts only files and the
structure of the service is as shown below :
@POST
@Path("/uploadDoc")
@Consumes("multipart/form-data")
@Produces(MediaType.APPLICATION_JSON)
Hello,
I have a problem with specials chars like : é @ à è etc...
I send an HTTP request containing a header with the key SenderID and the
value is *Caméléon*
I also have a properties file in my project with this key-value :
*test.message=Caméléon*
In my route I have thses two instructions :
Yes that's it.
I have to follow this order :
1 :
2 :
3 :
4 :
With that, it works well!
Thank you!
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-errorHandler-problem-tp5791951p5791966.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I know camel should not stop.
Here, when camel route is running,* I stop activeMQ server and then camel
route also stops.*
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-route-stop-after-activeMQ-shutdow-tp5791949p5791962.html
Sent from the Camel - Users
18 matches
Mail list logo