Re: Cannot change directory to: . Code: 550 on FTP component

2013-06-26 Thread Bengt Rodehav
OK - thanks for your investigation. I just thought you had hit the same
error I reported - although I used sftp and not ftp. But, I thought the bug
affected ftp as well.

Just one final question: Directly after you log in to the ftp server, what
is your current directory? In my case it is the root directory (a virtual
root directory): /. This is a prerequisite for the error I reported
(CAMEL-6309).

/Bengt


2013/6/25 lassesvestergaard lassesvesterga...@gmail.com

 The code I posted is just the latest for my current project. I have tried
 specifying a specific subdir without recursive=true, and that works. It
 seems that I can't get the actual folders (if I traverse a single folder I
 can't list subfolders, only files). When I use recursive=true it traverses
 down through all sub folders though, and retrieves all files.

 Yes, I use 2.11.0

 Regards



 --
 View this message in context:
 http://camel.465427.n5.nabble.com/Cannot-change-directory-to-Code-550-on-FTP-component-tp5734612p5734776.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



Re: camel-smpp in trx mode

2013-06-26 Thread sash_...@yahoo.com
What is the use of systemType paramter  ? I don't see any differentiation
in the code based on this parameter . Am I missing something ? 
The possible values are producer , consumer 



-
~Sandeep 
--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-smpp-in-trx-mode-tp5724608p5734784.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel routes and threads

2013-06-26 Thread Claus Ibsen
I think we had a bug in one of these older releases with the thread
pool profiles not being picked up in the XML DSLs. You may try a newer
Camel version.

An alternative is to use a threadPool instead of a
threadPoolProfile, as that may still possible work in the 2.9.0
release in the XML DSL.


On Wed, Jun 26, 2013 at 6:02 AM, vkarkhanis vkarkha...@gmail.com wrote:
 Hello Claus,
 We use camel version 2.9.0 ..

 Thank you,
  vkarkhanis



 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/Camel-routes-and-threads-tp5734326p5734783.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


getting error with camel sql component in route

2013-06-26 Thread indrayani
Hi ,
I am using following route

  route id=route1
   from uri=servlet:///application1/
transform
method bean=databaseBean method=generateInsertData/
  /transform
   to uri=sql:{{sql.insertOrder}}/
to uri=activemq:queue:inbox/
   /route

the DatabaseBean class contains following method :

public Map generateInsertData(String headerId1)
{
MapString, Object answer = new HashMapString, Object();
 answer.put(reqId,111);
 answer.put(msg,tesing the database insertion);
return answer;
}


and my sql property file contains following query :

sql.insertOrder=insert into camel_table (req_id,msg) values (:#reqId, :#msg)

the table is already created in oracle database.

when the route gets called, i get following exception :

No body available of type: java.io.InputStream but has value: {reqId=111,
msg=tesing the database insertion} of type: java.util.HashMap on:
JmsMessage[JmsMessageID: ID:xyz-b4be0c20ddf-4261-1372226226246-3:5:1:1:1].
Caused by: No type converter available to convert from type:
java.util.HashMap to the required type: java.io.InputStream with value
{reqId=111, msg=tesing the database insertion}.
Exchange[JmsMessage[JmsMessageID:
ID:xyz-b4be0c20ddf-4261-1372226226246-3:5:1:1:1]]. Caused by:
[org.apache.camel.NoTypeConversionAvailableException - No type converter
available to convert from type: java.util.HashMap to the required type:
java.io.InputStream with value {reqId=111, msg=tesing the database
insertion}]


--
I followed the tutorial for camel sql and tried to implement the above code,
but I am not understanding where I am going wrong.
Searched for other posts , but still did not get any solution




--
View this message in context: 
http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: getting error with camel sql component in route

2013-06-26 Thread Claus Ibsen
And you are using Camel 2.11.0 ?

On Wed, Jun 26, 2013 at 8:10 AM, indrayani ind.k...@gmail.com wrote:
 Hi ,
 I am using following route

   route id=route1
from uri=servlet:///application1/
 transform
 method bean=databaseBean method=generateInsertData/
   /transform
to uri=sql:{{sql.insertOrder}}/
 to uri=activemq:queue:inbox/
/route

 the DatabaseBean class contains following method :

 public Map generateInsertData(String headerId1)
 {
 MapString, Object answer = new HashMapString, Object();
  answer.put(reqId,111);
  answer.put(msg,tesing the database insertion);
 return answer;
 }


 and my sql property file contains following query :

 sql.insertOrder=insert into camel_table (req_id,msg) values (:#reqId, :#msg)

 the table is already created in oracle database.

 when the route gets called, i get following exception :

 No body available of type: java.io.InputStream but has value: {reqId=111,
 msg=tesing the database insertion} of type: java.util.HashMap on:
 JmsMessage[JmsMessageID: ID:xyz-b4be0c20ddf-4261-1372226226246-3:5:1:1:1].
 Caused by: No type converter available to convert from type:
 java.util.HashMap to the required type: java.io.InputStream with value
 {reqId=111, msg=tesing the database insertion}.
 Exchange[JmsMessage[JmsMessageID:
 ID:xyz-b4be0c20ddf-4261-1372226226246-3:5:1:1:1]]. Caused by:
 [org.apache.camel.NoTypeConversionAvailableException - No type converter
 available to convert from type: java.util.HashMap to the required type:
 java.io.InputStream with value {reqId=111, msg=tesing the database
 insertion}]


 --
 I followed the tutorial for camel sql and tried to implement the above code,
 but I am not understanding where I am going wrong.
 Searched for other posts , but still did not get any solution




 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


Re: getting error with camel sql component in route

2013-06-26 Thread indrayani
yes 2.11.0



--
View this message in context: 
http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734791.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Camel in Master/Slave ActiveMQ config

2013-06-26 Thread deepak_a
Hi,

In my architecture, I have a Master/Slave set up of ActiveMQ (integrated
with JBoss).
ActiveMQ in master: tcp://localhost:61616
ActiveMQ in slave: tcp://localhost:61617

Camelcontext(s) runs in a separate VM. 
So I have 2 instances of camel context running (one for master one for
Slave)

Following is the CamelContext set up in Master
failover:(tcp://localhost:61616,tcp://localhost:61617)?randomize=false

Following is the CamelContext set up in Slave
failover:(tcp://localhost:61617,tcp://localhost:61616)?randomize=false

Idea is that if the master ActiveMQ goes down, there should be a seamless
switch over (which it does).


Problem I am facing is - specifically when the slave starts up, presumably
the camel context and
routes will be built even though the (slave) broker is not actively
processing messages.

The master will have a comparable camel context, and I'm worried
about interference between the two Camel Context. How do the routes on the
slave know not to try to do their processing? Some routes in these contexts
will reference broker endpoints, but some may do things like hit external
endpoints, which would be bad if this is competing with the comparable
processing on the master.

*Note:* I have tried setting autoStartup=false (in the Slave's
CamelContext) but this did not make any difference.

regards,
Deepak.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-in-Master-Slave-ActiveMQ-config-tp5734804.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: getting error with camel sql component in route

2013-06-26 Thread Claus Ibsen
The problem is when sending to JMS queue, then the message body is a
HashMap type. And Camel expects a body to be compatible with an
InputStream.

So what JMS message do you want to send to the JMS queue?

If you really want to use a Map, then set jmsMessageType=Map on the
activemq endpoint.

If you want some text body etc, then you need to set the body to some
value before sending to the activemq queue.

On Wed, Jun 26, 2013 at 8:49 AM, indrayani ind.k...@gmail.com wrote:
 yes 2.11.0



 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734791.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


Re: Error with Apache Camel Mail unseen flag

2013-06-26 Thread Claus Ibsen
Maybe the search terms is wrong.


On Wed, Jun 26, 2013 at 2:28 AM, Mangiameli, Josiah
josiah.mangiam...@urjanet.com wrote:
 All,

 I am having an issue where even when I have set the unseen flag to false in
 my camel mail route, it is unable to find the unread message.
 When I go manually change the message to unread in my mail client, the
 exact same route is able to find the message.

 I should mention that I am using the ConsumerTemplate to receive the
 endpoint.

 Here is the camel route I am using

 imaps://
 imap.gmail.com?username=USERpassword=PASSmapMailMessage=falsesearchTerm.from=FROMsearchTerm.fromSentDate=2013-03-2507:56:02connectionTimeout=15000unseen=falsefolderName=INBOX;


 Is this a known bug or is there an issue with the route I am using?


 Regards,
 --
 Josiah Mangiameli

 Software Developer
 Urjanet Energy Solutions



-- 
Claus Ibsen
-
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


SyntaxHighlighter cannot find brush for: xml

2013-06-26 Thread ikoblik
Hello,

Just wanted to report a minor issue on this page:
http://camel.apache.org/using-camelproxy.html

When loading SyntaxHighlighter complains that it cannot find brush for XML
and because of it XML example is not displayed.

Ivan.



--
View this message in context: 
http://camel.465427.n5.nabble.com/SyntaxHighlighter-cannot-find-brush-for-xml-tp5734811.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: xmpp uri in camel / naming a JID resource [solved]

2013-06-26 Thread Willem jiang
Thanks for sharing this with us :)


--  
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)
  http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Wednesday, June 26, 2013 at 3:46 AM, Garbage wrote:

 I reread the documentation on the XMPP component
 (http://camel.apache.org/xmpp.html) and rearranged the url from an earlier
 attempt. It now works, I can use one account and vary it by adding a
 resource.
  
 Here you can find an example:
  
 from(stream:in?promptMessage=sachwas:).to(xmpp:installati...@xmpp.srv.net?resource=apppassword=yesparticipant=installati...@xmpp.srv.net/device1
  
 (mailto:installati...@xmpp.srv.net?resource=apppassword=yesparticipant=installati...@xmpp.srv.net/device1));
  
 This logs on the user as installati...@xmpp.srv.net 
 (mailto:installati...@xmpp.srv.net)/app and has it send
 the entered message to the same user but with a different active resource
 (installati...@xmpp.srv.net (mailto:installati...@xmpp.srv.net)/device).
 Now I can proceed and add marshalling and remoting ...
  
  
  
  
  
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/xmpp-uri-in-camel-naming-a-hid-resource-tp5734609p5734766.html
 Sent from the Camel - Users mailing list archive at Nabble.com 
 (http://Nabble.com).





Re: getting error with camel sql component in route

2013-06-26 Thread indrayani
hi,
any idea ,why am i getting the exception.
i am stuck-up at this point.



--
View this message in context: 
http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734797.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: SyntaxHighlighter cannot find brush for: xml

2013-06-26 Thread Daniel Kulp

On Jun 26, 2013, at 9:47 AM, ikoblik ikob...@hotmail.com wrote:

 Hello,
 
 Just wanted to report a minor issue on this page:
 http://camel.apache.org/using-camelproxy.html
 
 When loading SyntaxHighlighter complains that it cannot find brush for XML
 and because of it XML example is not displayed.

Thanks.  I'll fix it.

That page is using the {snippet} macro for that which the exporter isn't taking 
into account when trying to build the list of brushes to include.   The 
exporter right now is just looking at the {code} macros.   I'll get that 
updated.


-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com



Re: SyntaxHighlighter cannot find brush for: xml

2013-06-26 Thread Daniel Kulp
No fixed.

Thanks!
Dan



On Jun 26, 2013, at 9:47 AM, ikoblik ikob...@hotmail.com wrote:

 Hello,
 
 Just wanted to report a minor issue on this page:
 http://camel.apache.org/using-camelproxy.html
 
 When loading SyntaxHighlighter complains that it cannot find brush for XML
 and because of it XML example is not displayed.
 
 Ivan.
 
 
 
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/SyntaxHighlighter-cannot-find-brush-for-xml-tp5734811.html
 Sent from the Camel - Users mailing list archive at Nabble.com.

-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com



Re: SyntaxHighlighter cannot find brush for: xml

2013-06-26 Thread Daniel Kulp
Sighh…   *NOW*  fixed.


Dan


On Jun 26, 2013, at 11:29 AM, Daniel Kulp dk...@apache.org wrote:

 No fixed.
 
 Thanks!
 Dan
 
 
 
 On Jun 26, 2013, at 9:47 AM, ikoblik ikob...@hotmail.com wrote:
 
 Hello,
 
 Just wanted to report a minor issue on this page:
 http://camel.apache.org/using-camelproxy.html
 
 When loading SyntaxHighlighter complains that it cannot find brush for XML
 and because of it XML example is not displayed.
 
 Ivan.
 
 
 
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/SyntaxHighlighter-cannot-find-brush-for-xml-tp5734811.html
 Sent from the Camel - Users mailing list archive at Nabble.com.
 
 -- 
 Daniel Kulp
 dk...@apache.org - http://dankulp.com/blog
 Talend Community Coder - http://coders.talend.com
 

-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com



Re: SyntaxHighlighter cannot find brush for: xml

2013-06-26 Thread Christian Müller
Thanks Dan!

Best,
Christian

Sent from a mobile device
Am 26.06.2013 17:39 schrieb Daniel Kulp dk...@apache.org:

 Sighh…   *NOW*  fixed.


 Dan


 On Jun 26, 2013, at 11:29 AM, Daniel Kulp dk...@apache.org wrote:

  No fixed.
 
  Thanks!
  Dan
 
 
 
  On Jun 26, 2013, at 9:47 AM, ikoblik ikob...@hotmail.com wrote:
 
  Hello,
 
  Just wanted to report a minor issue on this page:
  http://camel.apache.org/using-camelproxy.html
 
  When loading SyntaxHighlighter complains that it cannot find brush for
 XML
  and because of it XML example is not displayed.
 
  Ivan.
 
 
 
  --
  View this message in context:
 http://camel.465427.n5.nabble.com/SyntaxHighlighter-cannot-find-brush-for-xml-tp5734811.html
  Sent from the Camel - Users mailing list archive at Nabble.com.
 
  --
  Daniel Kulp
  dk...@apache.org - http://dankulp.com/blog
  Talend Community Coder - http://coders.talend.com
 

 --
 Daniel Kulp
 dk...@apache.org - http://dankulp.com/blog
 Talend Community Coder - http://coders.talend.com




Re: Camel in Master/Slave ActiveMQ config

2013-06-26 Thread Christian Müller
I think you are looking for [1].

[1] http://karaf.apache.org/manual/latest-2.3.x/users-guide/failover.html

Best,
Christian
-

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Wed, Jun 26, 2013 at 1:34 PM, deepak_a angesh...@gmail.com wrote:

 Hi,

 In my architecture, I have a Master/Slave set up of ActiveMQ (integrated
 with JBoss).
 ActiveMQ in master: tcp://localhost:61616
 ActiveMQ in slave: tcp://localhost:61617

 Camelcontext(s) runs in a separate VM.
 So I have 2 instances of camel context running (one for master one for
 Slave)

 Following is the CamelContext set up in Master
 failover:(tcp://localhost:61616,tcp://localhost:61617)?randomize=false

 Following is the CamelContext set up in Slave
 failover:(tcp://localhost:61617,tcp://localhost:61616)?randomize=false

 Idea is that if the master ActiveMQ goes down, there should be a seamless
 switch over (which it does).


 Problem I am facing is - specifically when the slave starts up, presumably
 the camel context and
 routes will be built even though the (slave) broker is not actively
 processing messages.

 The master will have a comparable camel context, and I'm worried
 about interference between the two Camel Context. How do the routes on the
 slave know not to try to do their processing? Some routes in these contexts
 will reference broker endpoints, but some may do things like hit external
 endpoints, which would be bad if this is competing with the comparable
 processing on the master.

 *Note:* I have tried setting autoStartup=false (in the Slave's
 CamelContext) but this did not make any difference.

 regards,
 Deepak.



 --
 View this message in context:
 http://camel.465427.n5.nabble.com/Camel-in-Master-Slave-ActiveMQ-config-tp5734804.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



Apache Camel 2.10.5 released

2013-06-26 Thread Christian Mueller
The Camel community announces the immediate availability of the new patch
release camel-2.10.5. This bug fix release is issued after 4 months of
intense efforts of the Camel 2.10.x maintenance branch and resolves 108
issues.

This is our first release which comes from our new Git
repositoryhttp://camel.apache.org/2013/05/14/camel-moved-to-git.html
.

The artifacts are published and ready for you to
downloadhttp://camel.apache.org/download.htmleither from the Apache
mirrors or from the Central Maven repository. For
more details please take a look at the release
noteshttps://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211version=12324024
.

Many thanks to all who made this release possible.

Christian


Re: Error with Apache Camel Mail unseen flag

2013-06-26 Thread Mangiameli, Josiah
I use the exact same route and the only thing that I change is I go
manually change some of the messages that meet the criteria to un-read (in
my email inbox). That is the difference between the exchange coming back
null or coming back with an email message.

Is there another way to ensure that the emails read/undread status have no
affect?

Josiah


On Wed, Jun 26, 2013 at 7:52 AM, Claus Ibsen claus.ib...@gmail.com wrote:

 Maybe the search terms is wrong.


 On Wed, Jun 26, 2013 at 2:28 AM, Mangiameli, Josiah
 josiah.mangiam...@urjanet.com wrote:
  All,
 
  I am having an issue where even when I have set the unseen flag to false
 in
  my camel mail route, it is unable to find the unread message.
  When I go manually change the message to unread in my mail client, the
  exact same route is able to find the message.
 
  I should mention that I am using the ConsumerTemplate to receive the
  endpoint.
 
  Here is the camel route I am using
 
  imaps://
 
 imap.gmail.com?username=USERpassword=PASSmapMailMessage=falsesearchTerm.from=FROMsearchTerm.fromSentDate=2013-03-2507:56:02connectionTimeout=15000unseen=falsefolderName=INBOX
 ;
 
 
  Is this a known bug or is there an issue with the route I am using?
 
 
  Regards,
  --
  Josiah Mangiameli
 
  Software Developer
  Urjanet Energy Solutions



 --
 Claus Ibsen
 -
 www.camelone.org: The open source integration conference.

 Red Hat, Inc.
 FuseSource is now part of Red Hat
 Email: cib...@redhat.com
 Web: http://fusesource.com
 Twitter: davsclaus
 Blog: http://davsclaus.com
 Author of Camel in Action: http://www.manning.com/ibsen




-- 
Josiah Mangiameli

Software Developer
Urjanet Energy Solutions


Re: SyntaxHighlighter cannot find brush for: xml

2013-06-26 Thread ikoblik
Thank you Dan for a very quick fix!

Ivan.



--
View this message in context: 
http://camel.465427.n5.nabble.com/SyntaxHighlighter-cannot-find-brush-for-xml-tp5734811p5734840.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Why is the file component parameter, consumer.regexPattern not recognized?

2013-06-26 Thread Bilgin Ibryam
Hi Chris,

are you using Camel 1.x?
As it says in the documentation, for Camel 2.x, the doc page of file
component is
http://camel.apache.org/file2.html

Bilgin



On 26 June 2013 22:24, Chris Wolf cwolf.a...@gmail.com wrote:

 ResolveEndpointFailedException: Failed to resolve endpoint:
 file://src/test/data?consumer.regexPattern=.*uu%24noop=true
 due to: There are 1 parameters that couldn't be set on the endpoint
 consumer.
 Check the uri if the parameters are spelt correctly and that they are
 properties
 of the endpoint. Unknown consumer parameters=[{regexPattern=.*uu$}]

 I copypasted the parameter name directly from the doc page:
 http://camel.apache.org/file.html

 Thanks,


 Chris



Re: Cannot change directory to: . Code: 550 on FTP component

2013-06-26 Thread lassesvestergaard
I also log in a root level (/)



--
View this message in context: 
http://camel.465427.n5.nabble.com/Cannot-change-directory-to-Code-550-on-FTP-component-tp5734612p5734794.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Activemq inOnly producer Exception

2013-06-26 Thread Erwan Guiochet
Hi,

Thanks your response but the exception listener will be used in an async
mode.

Finally found a solution by changing an activemq property:
http://tmielke.blogspot.fr/2011/11/loosing-messages-despite-of-sending.html

With this i can keep my inOut in camel and get the error when producer
failed to push the message.

Erwan




--
View this message in context: 
http://camel.465427.n5.nabble.com/Activemq-inOnly-producer-Exception-tp5734063p5734793.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Aggregator to be pulled from the bean definition

2013-06-26 Thread Jothi
Guys,

I have the following route:

from(direct:aggregate).aggregate(header(CORRELATION_HEADER_KEY), new
MyAggregationStrategy()).completionTimeout(3000).to(DIRECT_FINISH_AGGREGATE).routeId(myAggregator);

I want this new MyAggregationStrategy() to be injected via a bean definition
from my blueprint.xml. Is there a way to do this? 





--
View this message in context: 
http://camel.465427.n5.nabble.com/Aggregator-to-be-pulled-from-the-bean-definition-tp5734826.html
Sent from the Camel - Users mailing list archive at Nabble.com.


id of wireTap will be overrided by the id of next node

2013-06-26 Thread liugang594 Liu
Hi All:

I have below route:

from(timer:foo).routeId(route1).setBody(constant(Hello)).id(setBodyID).wireTap(direct:a).id(wireTapId).process(new
Processor(){...}).id(processId);

When I'm trying to trace each node by id, I found the id of wireTap will be
always processId. Seems all sub-classes of ProcessorDefinition have the
same problem.

is it a bug of Camel? or is there any other way to resolve this problem?

-- 
Thanks
GangLiu
MSN: liugang_0...@hotmail.com
Skype: gang.liu.talendbj