I logged a ticket to introduce an API in Camel to make this easier in the future
https://issues.apache.org/jira/browse/CAMEL-7136
On Thu, Jan 16, 2014 at 8:51 AM, Claus Ibsen wrote:
> Hi
>
> Ah if you use the spring's message listener container, then yeah you
> can start|stop that as well. In fac
Hi
Ah if you use the spring's message listener container, then yeah you
can start|stop that as well. In fact this is what camel-jms does under
the hood.
So there should not be a problem.
Also a lot of people use spring jms so its well tested.
On Thu, Jan 16, 2014 at 12:47 AM, Jeremy Ashley wr
On Thu, Jan 16, 2014 at 6:15 AM, Muhzin wrote:
> Hi,
> I am new to camel
> can anyone please explain the difference between the the main class
> provided in camel to make it stand alone. ie,
>
>- camel-core JAR in the org.apache.camel.Main class (requires Camel 2.6)
>- camel-spring JAR in
I am new to Apache camel. we are using Apache camel 2.11.0 to poll a
microsoft exchange Indox, using POP3 as FROM endpoint and created a bean
class to process the email message in the route before sending it to target
endpoint. The issue i have is MailMessage object return from
Exchange.getIn(MailM
Did you put the Student.class into the class path of camel context?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: 姜
The soap header value is taken from the message object, I don’t think you can
set the soap header from the message header directly.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com(h
Hi Willem,
I understand that soap headers and http headers are different but my
question is, is it possible to set soap header values using
soapjaxbdataformat?
Thanks,
Ganga
-
Thanks,
Ganga Aloori
--
View this message in context:
http://camel.465427.n5.nabble.com/Setting-a-soap-action-on-
Hi All,
I have build stom chat client in ActiveMQ,
I want to send room name has dynamic string and check it has user profile in
mysql DB,
Then I want to take some info from DB like user/password and then route all
messages to XMPP with this user and password,
I will be glad for help
Best Reg
Hi
I am trying to move contents of one queue to another queue.
The source queue contains Java object.
My came route is as follows
*
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:amq="http://activemq.apache.org/schema/core"
Hi,
I am new to camel
can anyone please explain the difference between the the main class
provided in camel to make it stand alone. ie,
- camel-core JAR in the org.apache.camel.Main class (requires Camel 2.6)
- camel-spring JAR in the org.apache.camel.spring.Main class
Other than the main
Hi Reji,
ftp://username@localhost:21/${in.header.
UZVSUBM_SOURCE_DIRECTORY}?password=test"/>
I have already tried this.If I did like this, I am not getting the value of
${in.header.UZVSUBM_SOURCE_DIRECTORY} in uri
Thanks
--
View this message in context:
http://camel.465427.n5.n
Right...so it doesn't really matter what version of Camel I'm using now does
it? ;)
Thanks for check though, much appreciated.
With the popularity of social media analytics, I would think it'd be a good
idea to put any component in that biosphere at the top of the priority list
- and maybe a wor
Thanks Claus,
I looked at the running app via jconsole but didn't see anything useful in
the MBeans. Ultimately I didn't use JMX. Instead I've created a simple
custom message listener container factory along the lines below.
public class CustomMessageListenerContainerFactory
implements Mes
Thanks gents. I did search the forum but didnt find anything using twitter
https, I guess I needed to use twitter ssl to find the issue already logged.
Cheers!
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-twitter-component-twitter-now-requires-https-tp5746001p574600
Hi Michael,
I hope my comment inline helps answering your questions.
Best,
Christoph
On 15 Jan 2014, at 19:16, MichaelAtSAG wrote:
> Our application uses the 2.12.1 Camel twitter component. As of yesterday,
> this component is reporting this exception:
>
> "403 Forbidden: The server understo
Hi
Yeah already logged
https://issues.apache.org/jira/browse/CAMEL-7134
And talked about here
http://camel.465427.n5.nabble.com/As-of-Today-twitter-requires-SSL-is-it-a-setting-for-Camel-Twitter-component-td5745967.html
On Wed, Jan 15, 2014 at 7:16 PM, MichaelAtSAG wrote:
> Our application uses
Our application uses the 2.12.1 Camel twitter component. As of yesterday,
this component is reporting this exception:
"403 Forbidden: The server understood the request, but is refusing to
fulfill it."
After doing some research, I found that the twitter api has changed to
require https connection
Hi
in case you want to test the entire route, I’d recommend using a producer
template.
The ProducerTemplate can send an exchange via:
template.send(“your://endoint/uri”, exchange);
Best,
Christoph
On 15 Jan 2014, at 18:48, Castyn wrote:
> So to go a bit further, assuming I setup the produce
Since your bean with the setProcessStatus method requires an exchange,
then you should not really use the producer template.
Just create a new DefaultExchange and popular it with data, and call
the method. Just like regular java code.
On Wed, Jan 15, 2014 at 6:48 PM, Castyn wrote:
> So to go
So to go a bit further, assuming I setup the producer template to mimic and
exchange to test this method, how then do I send that exchange to the
method? Do I just instantiate the processor within the test case and use
the template.send(Processor) method signature to do this? If so how then do
I
In most cases in my code I utilize processors to do exactly what you mention.
This situation is sort of a special case where I wanted to house all of the
route logic within a single class in the java DSL. Typically in this
project I have setup to use camel-jdbc, camel-cxf, etc as their own
endpoi
Hi,
> I am curious how it would be possible to setup the necessary aspects for a
> unit test of this method? How do you setup an entire exchange in a unit
> test, or is there capabilities built in somewhere I am unaware of?
You can set up exchange fixtures with the appropriate ProducerTemplate
m
Hi Nirosha
If you need to move the files from ftp location to the local directory, you
need to configure the ftp component as consumer endpoint.
Something like
ftp://username@localhost:21/${in.header.
UZVSUBM_SOURCE_DIRECTORY}?password=test"/>
In your code, you have used it as producer endpo
For JIRA ticket, see https://issues.apache.org/jira/browse/CAMEL-7135
You have made an array of strings in the above code fileName[i]? If so you
can write a loop which retrieves each string from the above array and
append to a string. And on each interation, concatenate a comma
Something like
while((strLine=br.readLine())!=null)
{
if(strLine.contains(".lis
Hi,
I am reading a file line by line...this program will check for filenames
which have .lis extensionI am retrieving the filenames...after getting
the filenames I have to setHeader with comma separeted values of all the
filenames How to do it?
while((strLine=br.readLine())!=null)
{
Sounds good we love contributions
http://camel.apache.org/contributing.html
On Wed, Jan 15, 2014 at 12:02 PM, cerker wrote:
> The printer component currently does not support specifying a page
> orientation. The Java Print Service supports portrait, landscape,
> reverse-portrait and reverse-lands
The printer component currently does not support specifying a page
orientation. The Java Print Service supports portrait, landscape,
reverse-portrait and reverse-landscape (see
javax.print.attribute.standard.OrientationRequested attribute).
I am currently extending the camel-printer component to
Hi,
The encryption algorithm is negotiated between the jsch library and the ssh
server. The jsch library doesn't implement any encryption algorithm but relies
on the ones included in the JCE provider in the JDK. AFAIK aes256 is included
in the "unlimited crypto" policies in the Sun JDK. If you
On Mon, Jan 13, 2014 at 2:36 PM, ABouchama wrote:
> Hello,
>
> Is it possible to use the component to camel ZooKeeper to know the value of
> this path for example :
>
> registry/APP_A = DE
>
I guess you have read the docs at
http://camel.apache.org/zookeeper
> Is it possible to manage a zookepe
On Tue, Jan 14, 2014 at 4:59 PM, Paul Gale wrote:
> Hi,
>
> What is the recommended way to handle the following scenario.
>
> I intend to embed Camel in a client (a standalone Java process). The
> client receives messages from a queue on an ActiveMQ 5.8.0 broker. The
> client's processor is expect
Hi - an some one provide some guidance on my above query - its unlikely we
will be able to update libraries/jar files in JRE - since we do not have
control over thisregardsD
--
View this message in context:
http://camel.465427.n5.nabble.com/Query-on-cipher-aes256-cbc-for-sFTP-tp5745927p5745
You need to make sure the code you do in MyProcessor is using JDBC
resources that are managed by the transaction manager so it can
rollback/commit the transaction?
On Tue, Jan 14, 2014 at 6:59 PM, geppo wrote:
> Hi,
> I've written a transacted route
>
> from("file:data.inbox?noo
Hi
There is a lot of information about testing at
http://camel.apache.org/testing
And also in the books published
http://camel.apache.org/books
On Tue, Jan 14, 2014 at 9:53 PM, Castyn wrote:
> Greetings, I have a question around unit testing within Camel as I am fairly
> new to it. I have a p
When you use POJO @Consume etc then there is no routes.
You can use JMX to find the consumer mbean and control the consumer to
stop|start etc.
On Wed, Jan 15, 2014 at 6:23 AM, Jeremy Ashley wrote:
> Hi I'm looking to understand how I can manage routes created via the @Consume
> annotation as p
35 matches
Mail list logo