On Feb 25, 2013, at 2:21 PM, Babak Vahdat [via Camel]
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 with the proper JSON outputs for both
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
This is a good source: http://camel.apache.org/mock.html
Sent from a mobile device
Am 26.02.2013 12:02 schrieb "shyenuganti" :
> 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 r
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 contex
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 wrot
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 r
Can you provide a test case for it?
Sent from a mobile device
Am 26.02.2013 06:06 schrieb "fclose" :
> already tried UTF-16BE without success.
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-smpp-special-characters-for-sending-sms-tp5728152p5728174.html
>
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]. That
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:
http://camel.apache.org/schema/spring"; autoStartup="true">
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" :
> Bouncer, need some time to understand :)
>
>
>
> --
> View this message in context:
> ht
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 wrote:
> Good. the upgrade landed me in an another error as below:
>
> java.io.FileNotFoundException: Cannot find resource in classpath for URI:
> blueprint.x
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 mob
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
(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 wrote:
> If the source and target directory is not on the same box, you need to check
> the camel-ftp or
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 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 in the blueprint.xml
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: org.osgi.vendor.framewo
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
Sub
Hi all,
i´m using the spring-ws component to send a request:
because this would affect all the spring-ws .
I´ve added the endpointMapping to the producer parameters
(endpointMapping=#xxx), but this seems it´s not working, the endointMapping
is not being set.
Checking the SpringWebserviceComp
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: http://willem
Hi all,
We need to design a route as below.
...copy files from sourceDirectory to destDirectory...
What about sourceDirectory and destDirectory are on different servers?
Could anyone tell us if it's possible to get this done with camel existing
components or do we have to cu
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: htt
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]] o.a.c.p.DeadLetterChan
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.
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
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.
On Tue, Feb 26, 2013 at 8:47 AM, sarfaraj 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 axis.osgi-1.4.jar on servic
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 We
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)
h
28 matches
Mail list logo