Camel is using the UTF-8 by default.
Can you try to set the encoding to UTF-8 ?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
Yes I am doing the same. Used a Java Bean to integrate with Axis from regular
Java code
But I got java.lang.NoClassDefFoundError: Could not initialize class
org.apache.axis.client.AxisClient
Even if I deployed axis.osgi-1.4.jar on servicemix. Also I don't see any
reference issue on Apache Karaf
On Tue, Feb 26, 2013 at 8:47 AM, sarfaraj sarfarajsay...@gmail.com wrote:
Yes I am doing the same. Used a Java Bean to integrate with Axis from regular
Java code
But I got java.lang.NoClassDefFoundError: Could not initialize class
org.apache.axis.client.AxisClient
Even if I deployed
Is there any axis_all osgi jar ?
which i can use as is.
/Sarfaraj
--
View this message in context:
http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728156.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
I have a route that triggers a Unix job which updates a database table with
its progress. The trigger process returns instantly, but the resulting Unix
job may take a long time to process.
My route now needs to poll the database table every n seconds to see when
the job has finished.
I need
Bouncer, need some time to understand :)
--
View this message in context:
http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728162.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Something strange if I try with alphabet = 8 and *dataCoding = 3*
I have an IllegalArgumentException
java.lang.IllegalArgumentException: *No enum const Alphabet with value 3*
bug ?
2013-02-26 11:19:49,386 ERROR [Camel (camel-1) thread #15 -
JmsConsumer[immediatesms]]
You can set the delay option on the ScheduledPollConsumer[1].
I don't think you need to add a delay in you code.
[1]http://camel.apache.org/polling-consumer.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Hi all,
We need to design a route as below.
route id=copyFiles
from uri=file://project/triggers?fileName=COPYFILES/
to uri=bean:dbBean?method=getFileNames/
...copy files from sourceDirectory to destDirectory...
What about sourceDirectory and destDirectory are on different
If the source and target directory is not on the same box, you need to check
the camel-ftp or camel-sftp component[1]
[1]http://camel.apache.org/ftp2.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Hi all,
i´m using the spring-ws component to send a request:
to uri=spring-ws:/
I would like to do a schema validation of the response that this spring-ws
producer (to) returns. For that, i´ve defined a CamelEndpointMapping with
the interceptors I need for the validation.
I have another
Leave all the parameters as default except the encoding which should be set to
UTF-16BE.
Best Regards,
Sergey Zhemzhitsky
Phone. +7 495 2580500 ext. 1246
-Original Message-
From: fclose [mailto:f...@closebase.com]
Sent: Tuesday, February 26, 2013 2:25 PM
To: users@camel.apache.org
Is there anything that I have to set so that I could use the
camel-blueprint-test support? When I tried running my camelContext
configured in the blueprint.xml, I get the following error:
I'm using 2.10.0 versions of the camel-xxx libraries.
java.lang.NoClassDefFoundError:
I suggest to upgrade to a newer 2.10.x release, as we have fixed osgi
stuff since.
On Tue, Feb 26, 2013 at 3:45 PM, Joe San codeintheo...@gmail.com wrote:
Is there anything that I have to set so that I could use the
camel-blueprint-test support? When I tried running my camelContext
configured
(Shamless promo for own project)
Or if you are running windows you can look at camel-smb
(https://github.com/Redpill-Linpro/camel-smb)
// Pontus
On Tue, Feb 26, 2013 at 1:13 PM, Willem jiang willem.ji...@gmail.com wrote:
If the source and target directory is not on the same box, you need to
Good. the upgrade landed me in an another error as below:
java.io.FileNotFoundException: Cannot find resource in classpath for URI:
blueprint.xml
@Override
protected String getBlueprintDescriptor() {
return blueprint.xml;
}
the blueprint.xml is in the same location where my
ServiceMix supports the wrap hander which will wrap the jar on the fly. But
this is not the recommended way...
osgi:install wrap:mvn:org.apache...
And have in mind, adding the OSGI meta data to your jar file is not always
everything you need (class loading issues, SPI issues, ...)
Sent from a
Seems like I have to put that blueprint.xml in the resources folder. It
worked!
Regards,
Jothi
On Tue, Feb 26, 2013 at 4:47 PM, Joe San codeintheo...@gmail.com wrote:
Good. the upgrade landed me in an another error as below:
java.io.FileNotFoundException: Cannot find resource in classpath
First, write your bean and make sure it works outside of SMX. Than deploy
it into SMX.
Make sure you have all the needed package imports...
Sent from a mobile device
Am 26.02.2013 02:12 schrieb sarfaraj sarfarajsay...@gmail.com:
Bouncer, need some time to understand :)
--
View this message
Hi All,
I have a requirement to send 2 messages in as reply of a request using InOut
pattern.
How can I achieve this?
My route looks as following:
camelContext id=hulkcontext
xmlns=http://camel.apache.org/schema/spring; autoStartup=true
route
from uri=jms:queue:data/
Your question is not very clear, I could interpret it in a few ways.
Your example seems to indicate an in-only, no reply pattern.
Firstly, you cannot do what you need with a request/reply pattern, so
you certainly have something else. Since you use jms, you probably use a
reply queue [1].
Can you provide a test case for it?
Sent from a mobile device
Am 26.02.2013 06:06 schrieb fclose f...@closebase.com:
already tried UTF-16BE without success.
--
View this message in context:
Hi ,
Here is a sample test for my Camel route.
I am overriding the camel context to replace a JMS Endpoint with a Mock.
And setting the expectations on the route and trying to assert it. But this
test is failing. Can anyone see a problem in my test ? Instead of adding a
mock to my production
You may use the following syntax: .unmarshall().bindy(BindyType.Csv,Your
Class.class)
Bear in mind that the current implementation does scan the package of the
viventi class thus you should not have any other bindy-annotated class in
the same root package.
On Monday, February 25, 2013, jeff
After looking at this a little closer it looks as though the
FileNotFoundException occurs when attempting to perform the preMove. This
means that the rename based readLock has succeeded and yet the preMove which
is essentially a rename with a different name failes?
--
View this message in
This is a good source: http://camel.apache.org/mock.html
Sent from a mobile device
Am 26.02.2013 12:02 schrieb shyenuganti shyenuga...@gmail.com:
Hi ,
Here is a sample test for my Camel route.
I am overriding the camel context to replace a JMS Endpoint with a Mock.
And setting the
context.resolveEndpoint is not availble on both the regular CamelContext or
the ModelCamelContext in 2.10.3. Is the method deprecated?
I am using @EndpointInject to get the resolve the endpoint.
But still the assertion fails in my case although everything seems to work.
Is there any thing that
On Feb 25, 2013, at 2:21 PM, Babak Vahdat [via Camel]
ml-node+s465427n5728116...@n5.nabble.com wrote:
As I did *not* backport the fix for CAMEL-5861 to this branch (because it
was/is not a supported version anymore). However the example works properly
on the 2.10.x branch as well as trunk
28 matches
Mail list logo