[CONF] Apache Camel MQTT

2014-08-28 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


MQTT   






...



 div








class
confluenceTableSmall


 









 Property 
 Default 
 Description 


  host  
  tcp://127.0.0.1:1883  
 The URI of the MQTT broker to connect too - this component also supports SSL - e.g. ssl://127.0.0.1:8883  


  localAddress  
  
 The local InetAddress and port to use 


  connectAttemptsMax  
  -1  
 The maximum number of attempts to establish an initial connection - -1 in infinite. 


  

[CONF] Apache Camel MQTT

2014-08-27 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


MQTT   






...



 div








class
confluenceTableSmall


 









 Property 
 Default 
 Description 


  host  
  tcp://127.0.0.1:1883  
 The URI of the MQTT broker to connect too - this component also supports SSL - e.g. ssl://127.0.0.1:8883  


  localAddress  
  
 The local InetAddress and port to use 


  connectAttemptsMax  
  -1  
 The maximum number of attempts to establish an initial connection - -1 in infinite. 


  

[CONF] Apache Camel RabbitMQ

2014-08-26 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


RabbitMQ   




 Comment: CAMEL-7552 


...



 div








class
confluenceTableSmall


 









 Property 
 Default 
 Description 


  autoAck  
  true  
 If messages should be auto acknowledged 


  autoDelete  
  true  
 If it is true, the exchange will be deleted when it is no longer in use 


  durable  
  true  
 If we are declaring a durable exchange (the exchange will survive a server restart) 


   

[CONF] Apache Camel Solr

2014-08-17 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Solr   




 Comment: CAMEL-6827 


...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-solr/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency
 



URI format
 NOTE: solrs and solrCloud are new added since Camel 2.14. 



 Code Block




 
solr://host[:port]/solr?[options]

solrs://host[:port]/solr?[options]
solrCloud://host[:port]/solr?[options]

 



Endpoint Options
The following SolrServer options may be configured on the Solr endpoint.




 name 
 default value 
 description 



[CONF] Apache Camel Facebook

2014-08-15 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Facebook   






...



 Code Block




 	from(facebook://home?consumer.delay=55000)
		.to(bean:blah);
 



Searching using a producer with dynamic options from header.
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel ElasticSearch

2014-08-13 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


ElasticSearch   




 Comment: CAMEL-7681 


...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-elasticsearch/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency
 



URI format



 Code Block




 

elasticsearch://clusterName[?options]
 



...




 operation 
 message body 
 description 


 INDEX 
 Map, String, byte[] or XContentBuilder content to index 
 adds content to an index and returns the content's indexId in the body 

[CONF] Apache Camel Camel 2.14.0 Release

2014-08-13 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...

Support for running on Java 1.8 JVMs
Spring 4.x supported.
 REST DSL to define REST services using a REST style with verbs such as get/post/put/delete etc. The Rest DSL supports Java and XML DSL.
 REST DSL integrated with Swagger to expose the service as swagger apis.
Simple language defined in routes using resultType as boolean is now evaluated as predicate instead of as _expression_.
Introduced RuntimeEndpointRegistry to capture runtime usage of endpoints in use during routing, such as dynamic endpoints from dynamic EIPs.
Added event notification for routes added and removed.
Allow to configure cache size in Recipient List, Routing Slip and Dynamic Router EIPs; and as well turn caching off.
 Netty HTTPproducer now supports the CamelHttpPath header to define a dynamic context-path and query parameters to call the remote http server. 
 Polling Consumerallows to configure initial queue size and whether to block when full when using the defaultEventDrivenPollingConsumer which most components does. We now block by default, as otherwise the message may be lost if the queue was full, and a new message was offered. 
 Added a generic callback to configure the APNS service builder. 
 AddedStreamList option to theJDBC component 
Allow to define Simple expressions for sql parameters of the SQL component.   
A new XML tokenizer that is truly XML-aware (e.g., supporting XML namespaces and complex hierarchical structures)
Added optionparallelAggregate to Multicast, Splitter and Recipient ListEIPs
Support to set the variable map from message header in Velocity, Freemarker, StringTemplate.
 Added HazelcastInstance option toHazelcast component. 
Producers from static EIPs such as to is is now also enlisted in JMX when Camel is starting routes.
Unmarshal json to pojo usingcamel-jackson now supports a header to tell Camel what the pojo class name is, to allow more dynamic behavior, as otherwise the class name would be hardcoded.
Also allow to configurecamel-jackson to skip null values, by setting includes toNOT_NULL.
Andcamel-jackson can now easily be configured to unmarshal to aListpojoor ListMapinstead of either a single pojo orMap type.
IntroducedSynchronizationRouteAware allowing to have callbacks before/after an Exchange is being routed. This allows to trigger custom code at these points, for example after a route, but before a Consumer writes any response back to a caller (InOut mode).
 JDBCnow supports outputClass for SelectList type.
   

[CONF] Apache Camel HTTP4

2014-08-13 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


HTTP4   






...




 Name 
 Default Value 
 Description 


  maxTotalConnections  
  200  
 The maximum number of connections. 


  connectionsPerRoute  
  20  
 The maximum number of connections per route. 


  cookieStore  
  null  
  Camel 2.11.2/2.12.0: To use a custom org.apache.http.client.CookieStore. By default the org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only cookie store. Notice if bridgeEndpoint=true then the cookie store is forced to be a noop cookie store as cookies shouldn't be stored as we are just bridging (eg acting as a proxy). 


  httpClientConfigurer  
  null  
 Reference to a org.apache.camel.component.http.HttpClientConfigurer in the Registry. 


  clientConnectionManager  
  null  
 To use a custom org.apache.http.conn.ClientConnectionManager. 


  httpBinding  
  null  
 To use a custom org.apache.camel.component.http.HttpBinding. 


  httpContext  
  null  
  Camel 2.9.2: To use a custom org.apache.http.protocol.HttpContext when executing requests. 

  

[CONF] Apache Camel Facebook

2014-08-11 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Facebook   




 Comment: CAMEL-7674 


...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block




 

	dependency
	groupIdorg.apache.camel/groupId
	artifactIdcamel-facebook/artifactId
	version${camel-version}/version
	/dependency
 



URI format



 Code Block




 
 facebook://[endpoint]?[options]
 



...
Producer endpoints can also use a special option *inBody* that in turn should contain the name of the endpoint option whose value will be contained in the Camel Exchange In message. For example, the facebook endpoint in the following route retrieves activities for the user id value in the incoming message body.



 Code Block




 

	from(direct:test).to(facebook://activities?inBody=userId)...
 



...
Any of the producer endpoints that take a reading reading#reading parameter can be used as a consumer endpoint. The polling consumer uses the since and until fields to get responses within the polling interval. In addition to other reading fields, an initial since value can be provided in the endpoint for the first poll.
...
The reading option of type facebook4j.Reading adds support for reading parameters, which allow selecting specific fields, limits the number of results, etc. For more information see Graph APIAPI#reading - Facebook Developers.
   

[CONF] Apache Camel XStream

2014-07-25 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


XStream   






...



 Code Block




 XStream xStream = new XStream();
xStream.aliasField(money, PurchaseOrder.class, cash);
// new Added setModel option since Camel 2.14
xStream.setModel(NO_REFERENCES);
...

from(direct:marshal).
  marshal(new XStreamDataFormat(xStream)).
  to(mock:marshaled);
 



...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Jasypt

2014-07-25 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Jasypt   






...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-jasypt/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency
 



...
The console output the syntax and which options it provides:



 Code Block




 

Apache Camel Jasypt takes the following options

  -h or -help = Displays the help screen
  -c or -command command = Command either encrypt or decrypt
  -p or -password password = Password to use
  -i or -input input = Text to encrypt or decrypt
  -a or -algorithm algorithm = Optional algorithm to use
 



For example to encrypt the value tiger you run with the following parameters. In the apache camel kit, you cd into the lib folder and run the following java cmd, where CAMEL_HOME is where you have downloaded and extract the Camel distribution.



 Code Block



 

[CONF] Apache Camel Restlet

2014-07-16 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Restlet   




 Comment: CAMEL-7082 


...




 Name 
 Default Value 
 Description 


  controllerDaemon  
  true  
  Camel 2.10: Indicates if the controller thread should be a daemon (not blocking JVM exit). 


  controllerSleepTimeMs  
  100  
  Camel 2.10: Time for the controller thread to sleep between each control. 


  inboundBufferSize  
  8192  
  Camel 2.10: The size of the buffer when reading messages. 


  minThreads  
  1  
  Camel 2.10: Minimum threads waiting to service requests. 


  maxThreads  
  10  
  Camel 2.10: Maximum threads that will service requests. 


lowThreads
8
Camel 2.13: Number of worker threads determining when the connector is considered overloaded.


maxQueued
0
Camel 2.13: Maximum number of calls that can be queued if there aren't any worker thread available to service them. If the value is '0', then no queue is used and calls are rejected if no worker thread is immediately available. If the value is '-1', then an unbounded queue is used and calls are never rejected.

[CONF] Apache Camel Scripting Languages Context

2014-07-10 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Scripting Languages Context   






...



 Code Block








language
py


 




 bar = baz;
//# some other statements ...
# camel take the result value as the script evaluation result
result = body * 2 + 1
 




Dependencies
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.14.0 Release

2014-07-09 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...

Support for running on Java 1.8 JVMs
Spring 4.x supported.
Simple language defined in routes using resultType as boolean is now evaluated as predicate instead of as _expression_.
Introduced RuntimeEndpointRegistry to capture runtime usage of endpoints in use during routing, such as dynamic endpoints from dynamic EIPs.
Added event notification for routes added and removed.
Allow to configure cache size in Recipient List, Routing Slip and Dynamic Router EIPs; and as well turn caching off.
 Netty HTTPproducer now supports the CamelHttpPath header to define a dynamic context-path and query parameters to call the remote http server. 
 Polling Consumerallows to configure initial queue size and whether to block when full when using the defaultEventDrivenPollingConsumer which most components does. We now block by default, as otherwise the message may be lost if the queue was full, and a new message was offered. 
 Added a generic callback to configure the APNS service builder. 
 AddedStreamList option to theJDBC component 
Allow to define Simple expressions for sql parameters of the SQL component.   
A new XML tokenizer that is truly XML-aware (e.g., supporting XML namespaces and complex hierarchical structures)
Added optionparallelAggregate to Multicast, Splitter and Recipient ListEIPs
Support to set the variable map from message header in Velocity, Freemarker, StringTemplate.
 Added HazelcastInstance option toHazelcast component. 

Fixed Issues

Timer consumer is now scheduled after CamelContext has started all routes, to ensure other routes is running when timer routes is triggered to run.
 Netty HTTP now returns HTTP status 404 if resource not found instead of 503.
Fixed the MongoDBreadPreferenceoption which used to cause an IllegalArgumentExceptionto be thrown.
Fixed issue with Netty producer may leak HashWhealTimer instances when having many producers that are not reused.
Fixed issue with Netty consumer should wait for join to complete when joining a multicast group over UDP
Improved stability when testing withcamel-test-blueprint component.
 Netty HTTPnow removes headerFilterStrategy option after resolvingit
Fixed POJO aggregating when the parameter type was referring to a type that was class annotated.
FixedMyBatisto keep the message body as-is when calling 

[CONF] Apache Camel Velocity

2014-07-08 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Velocity   




 Comment: CAMEL-7532 


...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-velocity/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency
 



URI format



 Code Block




 

velocity:templateName[?options]
 



...
For example, to set the header value of fruit in the Velocity template .tm:



 Code Block




 

$in.setHeader('fruit', 'Apple')
 



...
   

[CONF] Apache Camel FreeMarker

2014-07-08 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


FreeMarker   






...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-freemarker/artifactId
versionx.x.x/version !-- use the same version as your Camel core version --
/dependency
 



URI format



 Code Block




 

freemarker:templateName[?options]
 



...
An example: Set the header value of fruit in the FreeMarker template:



 Code Block




 

${request.setHeader('fruit', 'Apple')}
 



...

 

[CONF] Apache Camel StringTemplate

2014-07-08 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


StringTemplate   






...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-stringtemplate/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency
 



URI format



 Code Block




 

string-template:templateName[?options]
 



...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| key || value ||
| {{exchange}} | The Exchange itself. |
| {{headers}} | The headers of the In message. |
| {{camelContext}} | The Camel Context. |
| {{request}} | The In message. |
| {{in}} | The In message. |
| {{body}} | The In message body. |
| {{out}} | The Out message (only for InOut message exchange pattern). |
| {{response}} | The Out message (only for InOut message exchange pattern). |
{div} 

[CONF] Apache Camel Camel 2.14.0 Release

2014-07-08 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...

Support for running on Java 1.8 JVMs
Spring 4.x supported.
Simple language defined in routes using resultType as boolean is now evaluated as predicate instead of as _expression_.
Introduced RuntimeEndpointRegistry to capture runtime usage of endpoints in use during routing, such as dynamic endpoints from dynamic EIPs.
Added event notification for routes added and removed.
Allow to configure cache size in Recipient List, Routing Slip and Dynamic Router EIPs; and as well turn caching off.
 Netty HTTPproducer now supports the CamelHttpPath header to define a dynamic context-path and query parameters to call the remote http server. 
 Polling Consumerallows to configure initial queue size and whether to block when full when using the defaultEventDrivenPollingConsumer which most components does. We now block by default, as otherwise the message may be lost if the queue was full, and a new message was offered. 
 Added a generic callback to configure the APNS service builder. 
 AddedStreamList option to theJDBC component 
Allow to define Simple expressions for sql parameters of the SQL component.   
A new XML tokenizer that is truly XML-aware (e.g., supporting XML namespaces and complex hierarchical structures)
Added optionparallelAggregate to Multicast, Splitter and Recipient ListEIPs
 Support to set the variable map from message header in Velocity, Freemarker, StringTemplate. 

Fixed Issues

Timer consumer is now scheduled after CamelContext has started all routes, to ensure other routes is running when timer routes is triggered to run.
 Netty HTTP now returns HTTP status 404 if resource not found instead of 503.
Fixed the MongoDBreadPreferenceoption which used to cause an IllegalArgumentExceptionto be thrown.
Fixed issue with Netty producer may leak HashWhealTimer instances when having many producers that are not reused.
Fixed issue with Netty consumer should wait for join to complete when joining a multicast group over UDP
Improved stability when testing withcamel-test-blueprint component.
 Netty HTTPnow removes headerFilterStrategy option after resolvingit
Fixed POJO aggregating when the parameter type was referring to a type that was class annotated.
FixedMyBatisto keep the message body as-is when calling stored procedures, if the procedure returns data as OUT parameters.

[CONF] Apache Camel Camel 2.14.0 Release

2014-07-07 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...

Atomikos 3.9.2 to 3.9.3
Commons-codec 1.8 to 1.9
CXF 2.7.11 to 3.0.0
Deltaspike 0.7 to 1.0.0
Dozer 5.4.0 to 5.5.1
EhCache 2.8.1 to 2.8.3
Groovy 2.2.2 to 2.3.3
Guava 16.0.1 to 17.0
JRuby 1.7.10 to 1.7.12
MongoDB-Java-Driver 2.11.4 to 2.12.0
RabbitMQ AMQ Client 3.2.2 to 3.3.0
RxJava 0.17.5 to 0.19.14 
Scala 2.10.3 to 2.10.4
Snmp4j 2.2.5 to 2.3.0
SSHD 0.10.1 to 0.11.0
spring-redis 1.1.0 to 1.3.0

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Apache Camel 2.13.2 Released

2014-07-06 Thread willem jiang (Confluence)














  


willem jiang wrote a blog post:
 


Apache Camel 2.13.2 Released   





The Camel community announces the immediate availability of the new patch release Camel 2.13.2. This release contains a total of 41 fixes applied in the past 2 months by the community on the Camel 2.13.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes. 
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem





 View Online   Like  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.12.4 is released

2014-07-06 Thread willem jiang (Confluence)














  


willem jiang wrote a blog post:
 


Camel 2.12.4 is released   





The Camel community announces the immediate availability of the new patch release Camel 2.12.4. This release contains a total of 140 fixes applied in the past 5 months by the community on the Camel 2.12.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes. 
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem





 View Online   Like  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Apache Camel 2.12.4 was Released

2014-07-06 Thread willem jiang (Confluence)














  


willem jiang edited the blog post:
 


Apache Camel 2.12.4 was Released   






The Camel community announces the immediate availability of the new patch release Camel 2.12.4. This release contains a total of 140 fixes applied in the past 5 months by the community on the Camel 2.12.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes. 
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Apache Camel 2.13.2 was Released

2014-07-06 Thread willem jiang (Confluence)














  


willem jiang edited the blog post:
 


Apache Camel 2.13.2 was Released   






The Camel community announces the immediate availability of the new patch release Camel 2.13.2. This release contains a total of 41 fixes applied in the past 2 months by the community on the Camel 2.13.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes. 
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Apache Camel 2.12.4 Released

2014-07-06 Thread willem jiang (Confluence)














  


willem jiang edited the blog post:
 


Apache Camel 2.12.4 Released   






The Camel community announces the immediate availability of the new patch release Camel 2.12.4. This release contains a total of 140 fixes applied in the past 5 months by the community on the Camel 2.12.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes. 
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Apache Camel 2.13.2 Released

2014-07-06 Thread willem jiang (Confluence)














  


willem jiang edited the blog post:
 


Apache Camel 2.13.2 Released   






The Camel community announces the immediate availability of the new patch release Camel 2.13.2. This release contains a total of 41 fixes applied in the past 2 months by the community on the Camel 2.13.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes. 
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.1 Release

2014-07-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.1 Release   






 Camel 2. 
...
 13. 
...
 1 release 



 Wiki Markup




 {div:style=padding-right:20px;float:left;margin-left:-20px;}
!http://camel.apache.org/download.data/camel-box-v1.0-150x200.png!
{div} 



...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.2 Release

2014-07-05 Thread willem jiang (Confluence)














  


willem jiang created a page:
 


Camel 2.13.2 Release   





Camel 2.13.2 release

  


New and Noteworthy
Welcome to the 2.13.2 release which is mainly a bug fix release with 41 issues resolved..
For more details see theJIRA tickets 
Known Issues

SeeCamel 2.13.0 Release 

Important changes to consider when upgrading

SeeCamel 2.13.0 Release 

Notice

SeeCamel 2.13.0 Release 

Getting the Distributions
Binary Distributions




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.13.2.zip  
  apache-camel-2.13.2.zip.asc  


 Unix/Linux/Cygwin Distribution 
  apache-camel-2.13.2.tar.gz  
  apache-camel-2.13.2.tar.gz.asc  





The above URLs use redirection
Icon

The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using FireFox 


Source Distributions




  

[CONF] Apache Camel Camel 2.12.3 Release

2014-07-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.12.3 Release   






...
Welcome to the 2.12.3 release which is mainly a bug fix release with 140 108 issues resolved..
For more details see theJIRA tickets 
Known Issues

SeeCamel 2.12.0 Release 

...




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.12.34.zip  
  apache-camel-2.12.34.zip.asc  


 Unix/Linux/Cygwin Distribution 
  apache-camel-2.12.34.tar.gz  
  apache-camel-2.12.34.tar.gz.asc  







 Info








title
The above URLs use redirection


 




 The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work 

[CONF] Apache Camel Camel 2.12.4 Release

2014-07-05 Thread willem jiang (Confluence)














  


willem jiang created a page:
 


Camel 2.12.4 Release   





Camel 2.12.4 release

  


New and Noteworthy
Welcome to the 2.12.4 release which is mainly a bug fix release with 140 issues resolved..
For more details see theJIRA tickets 
Known Issues

SeeCamel 2.12.0 Release 

Important changes to consider when upgrading

SeeCamel 2.12.0 Release 

Notice

SeeCamel 2.12.0 Release 

Getting the Distributions
Binary Distributions




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.12.3.zip  
  apache-camel-2.12.3.zip.asc  


 Unix/Linux/Cygwin Distribution 
  apache-camel-2.12.3.tar.gz  
  apache-camel-2.12.3.tar.gz.asc  





The above URLs use redirection
Icon

The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using FireFox 


Source Distributions




 

[CONF] Apache Camel Bean Language

2014-07-03 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Bean Language   






...
Using Bean Expressions from XML



 Code Block








language
xml


lang
xml


 




 route
  from uri=activemq:topic:OrdersTopic/
  filter
method ref=myBean method=isGoldCustomer/
to uri=activemq:BigSpendersQueue/
  /filter
/route
 



...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.14.0 Release

2014-06-26 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...

Atomikos 3.9.2 to 3.9.3
Commons-codec 1.8 to 1.9
CXF 2.7.11 to 3.0.0
Dozer 5.4.0 to 5.5.1
EhCache 2.8.1 to 2.8.3
Groovy 2.2.2 to 2.3.3
Guava 16.0.1 to 17.0
JRuby 1.7.10 to 1.7.12
MongoDB-Java-Driver 2.11.4 to 2.12.0
RabbitMQ AMQ Client 3.2.2 to 3.3.0
RxJava 0.17.5 to 0.19.1
Scala 2.10.3 to 2.10.4
Snmp4j 2.2.5 to 2.3.0
SSHD 0.10.1 to 0.11.0
 spring-redis 1.1.0 to 1.3.0 

Internal changes

Changed ...

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel JSON

2014-06-12 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


JSON   




 Comment: Fix the typo of JSON 


...
Note that the weight field is missing in the resulting JSON:



 Code Block




 {age:30, heightweight:19070}
 



The GSON library supports a similar feature through the notion of ExclusionStrategies:
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Throttler

2014-06-12 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Throttler   






...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| {{maximumRequestsPerPeriod}} | | Maximum number of requests per period to throttle. This option must be provided as a positive number. Notice, in the XML DSL, from *Camel 2.8* onwards this option is configured using an [_expression_] instead of an attribute. |
| {{timePeriodMillis}} | {{1000}} | The time period in milliseconds, in which the throttler will allow at most {{maximumRequestsPerPeriod}} number of messages. |
| {{asyncDelayed}} | {{false}} | *Camel 2.4:* If enabled then any messages which is delayed happens asynchronously using a scheduled thread pool. |
| {{executorServiceRef}} | |  *Camel 2.4:* Refers to a custom [Thread Pool|Threading Model] to be used if {{asyncDelay}} has been enabled. |
| {{callerRunsWhenRejected}} | {{true}} | *Camel 2.4:* Is used if {{asyncDelayed}} was enabled. This controls if the caller thread should execute the task if the thread pool rejected the task. |
| {{rejectExection}} | {{false}} | *Camel 2.14:* If this option is true, throttler throws the RejectExecutionException when the request rate exceeds the limit. |
{div} 



Examples
 Using the Fluent Builders 
...
Note that since timePeriodMillis defaults to 1000 milliseconds, just setting the maximumRequestsPerPeriod has the effect of setting the maximum number of requests per second. So to throttle requests at 100 requests per second between two endpoints, it would look more like this...



 Code Block




 

from(seda:a).throttle(100).to(seda:b);
 



...
You can let the Throttler use non blocking asynchronous delaying, which means Camel will use a scheduler to schedule a task to be executed in the future. The task will then continue routing. This allows the caller thread to not block and be able to service other messages, etc.



 Code Block

   

[CONF] Apache Camel Camel 2.14.0 Release

2014-06-10 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...
New Annotations
New Data Formats 

 camel-barcode 

New Languages 
New Examples 
New Tutorials 
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Gora

2014-06-05 Thread willem jiang (Confluence)














  


willem jiang moved the page:
 


Gora   







From:
 Apache Camel  Component List Grouped 


To:
 Apache Camel  Components 







 View Online   Like  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.1 Release

2014-06-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.1 Release   






Camel 2.12.3 release



 Wiki Markup




 {div:style=padding-right:20px;float:left;margin-left:-20px;}
!http://camel.apache.org/download.data/camel-box-v1.0-150x200.png!
{div} 






 Wiki Markup




 {div:style=min-height:200px}
{div} 



New and Noteworthy
Welcome to the 2.13.1 release which is mainly a bug fix release with 140 issues resolved..
For more details see theJIRA tickets 
Known Issues

SeeCamel 2.13.0 Release 

Important changes to consider when upgrading

SeeCamel 2.13.0 Release 

Notice

SeeCamel 2.13.0 Release 

Getting the Distributions
Binary Distributions




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.13.1.zip  
  apache-camel-2.13.1.zip.asc  

  

[CONF] Apache Camel Camel 2.14.0 Release

2014-06-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...

camel-ahc-ws
camel-atmosphere-websocket
 camel-openshift 
 camel-gora 

New Camel Maven Archetypes 
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel RabbitMQ

2014-06-04 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


RabbitMQ   




 Comment: CAMEL-7422 


...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Property || Default || Description ||
| {{autoAck}} | {{true}} | If messages should be auto acknowledged |
| {{autoDelete}} | {{true}} | If it is true, the exchange will be deleted when it is no longer in use |
| {{durable}} | {{true}} | If we are declaring a durable exchange (the exchange will survive a server restart) |
| {{queue}} | {{random uuid}} | The queue to receive messages from |
| {{routingKey}} | {{null}} | The routing key to use when binding a consumer queue to the exchange. For producer routing keys, you set the header (see header section) |
| {{threadPoolSize}} | {{10}} | The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads. |
| {{username}} | {{null}} | username in case of authenticated access |
| {{password}} | {{null}} | password for authenticated access |
| {{vhost}} | {{/}} | the vhost for the channel |
| {{exchangeType}} | {{direct}} | *Camel 2.12.2:* The exchange type such as direct or topic. |
| {{bridgeEndpoint}} | {{false}} | *Camel 2.12.3:* If the bridgeEndpoint is true, the producer will ignore the message header of rabbitmq.EXCHANGE_NAME and rabbitmq.ROUTING_KEY |
| {{addresses}} | {{null}} | *Camel 2.12.3:* If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like server1:12345, server2:12345|
|connectionTimeout|  0| *Camel 2.14:* Connection timeout|
|requestedChannelMax  |  0| *Camel 2.14:* Connection requested channel max (max number of channels offered)|
|requestedFrameMax|  0| *Camel 2.14:* Connection requested frame max (max size of frame offered)|
|requestedHeartbeat   |  0| *Camel 2.14:* Connection requested heartbeat (heart-beat in seconds offered)|
|sslProtocol  |  null | *Camel 2.14:* Enables SSL on connection, accepted value are `true`, `TLS` and 'SSLv3`|
|trustManager |  null | *Camel 2.14:* Configure SSL trust manager, SSL should be enabled for this option to be effective|
|clientProperties |  null | *Camel 2.14:* Connection client properties (client info used in negotiating with the server)|
|connectionFactory|  null | *Camel 2.14:* Custom RabbitMQ connection factory. When this option is set, all connection options (connectionTimeout, requestedChannelMax...) set on URI are not used|
|automaticRecoveryEnabled | false | *Camel 2.14:* Enables connection automatic recovery (uses connection implementation that performs automatic recovery when connection shutdown is not initiated by the application)|
|networkRecoveryInterval  |  5000 | *Camel 2.14:* Network recoverty interval in milliseconds (interval used when recovering from network failure)|
|topologyRecoveryEnabled  |  true | *Camel 2.14:* Enables connection topology recovery (should topology recovery be performed?)|
|prefetchEnabled | false | *Camel 2.14:* Enables the quality of service on the RabbitMQConsumer side, you need to specify the option of *prefetchSize*, *prefetchCount*, *prefetchGlobal* at the same time|
|prefetchSize | 0 | *Camel 2.14:* The maximum amount of content (measured in octets) that the 

[CONF] Apache Camel Restlet

2014-05-28 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Restlet   






...



 Code Block









xml


 




 bean id=restlet class=org.apache.camel.component.restlet.RestletComponent
  property name=maxThreads value=100/
/bean
 



...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.14.0 Release

2014-05-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...

Atomikos 3.9.2 to 3.9.3
Commons-codec 1.8 to 1.9
Dozer 5.4.0 to 5.5.1
Groovy upgraded to 2.3.0
JRuby 1.7.10 to 1.7.12
MongoDB-Java-Driver 2.11.4 to 2.12.0
Scala 2.10.3 to 2.10.4
RabbitMQ AMQ Client 3.2.2 to 3.3.0
 CXF 2.7.11 to 3.0.0 

Internal changes

Changed ...

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Apache Camel 2.13.1 Released

2014-05-14 Thread willem jiang (Confluence)














  


willem jiang edited the blog post:
 


Apache Camel 2.13.1 Released   







The Camel community announces the immediate availability of the new major patch release Camel 2.13.1. This release contains a total of 74 fixes applied in the past 2 months by the community on the Camel 2.13.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes. 
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem







 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Apache Camel 2.13.1 Released

2014-05-13 Thread willem jiang (Confluence)














  


willem jiang wrote a blog post:
 


Apache Camel 2.13.1 Released   






The Camel community announces the immediate availability of the new major release Camel 2.13.1. This release contains a total of 74 fixes applied in the past 2 months by the community on the Camel 2.13.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem






 View Online   Like  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.1 Release

2014-05-12 Thread willem jiang (Confluence)














  


willem jiang created a page:
 


Camel 2.13.1 Release   





Camel 2.12.3 release

  


New and Noteworthy
Welcome to the 2.13.1 release which is mainly a bug fix release with 140 issues resolved..
For more details see theJIRA tickets 
Known Issues

SeeCamel 2.13.0 Release 

Important changes to consider when upgrading

SeeCamel 2.13.0 Release 

Notice

SeeCamel 2.13.0 Release 

Getting the Distributions
Binary Distributions




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.13.1.zip  
  apache-camel-2.13.1.zip.asc  


 Unix/Linux/Cygwin Distribution 
  apache-camel-2.13.1.tar.gz  
  apache-camel-2.13.1.tar.gz.asc  





The above URLs use redirection
Icon

The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using FireFox 


Source Distributions




 

[CONF] Apache Camel Camel 2.13.1 Release

2014-05-12 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.1 Release   






...
For more details see theJIRA tickets 
Known Issues

SeeCamel 2.13.0 Release 

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Release Guide

2014-05-12 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Release Guide   






...

Close it by sending the RESULT to the mailing list.
Promote the artifacts to the central repo. For this login to https://repository.apache.org using your Apache LDAP credentials. Click on Staging Repositories. Select org.apache.camel-xxx in the list of repositories, where xxx represents your username and ip. Click Release on the tool bar above. This will promote all artifacts to the central maven repo. Enter the name and version of the artifact being released in the Description field and then click Release. This will make it easier to identify it later.
Perform a release in JIRA and create a new release version in JIRA
There should be already a release notes page in the In Progress folder (if not create one based on the Camel x.y.z Release (template)). Edit it and change the number of fixed issues and update its parent to be the Download page. Now would be a good time to create a new release notes page for the next release based on the template mentioned before. It is useful and simpler to keep it up to date during the development cycle.
 Copy the newly deployed distribution to Apache website:



 Code Block








language
text


 




 cd ${CAMEL_ROOT_DIR}/etc/scripts
release-distro.sh Camel version
 


 Check the console output and finish this step manually after checking the artifacts. 
 Remove the old release by using svn rm https://dist.apache.org/repos/dist/release/camel/apache-camel/OLD_CAMEL_VERSION-m Removed the old release 
Copy the KEYS file by ssh into /www/www.apache.org/dist/camel/apache-camel/ on people.apache.org if you changed it
   

[CONF] Apache Camel RabbitMQ

2014-05-11 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


RabbitMQ   




 Comment: CAMEL-7384 


...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Property || Default || Description ||
| {{autoAck}} | {{true}} | If messages should be auto acknowledged |
| {{autoDelete}} | {{true}} | If it is true, the exchange will be deleted when it is no longer in use |
| {{durable}} | {{true}} | If we are declaring a durable exchange (the exchange will survive a server restart) |
| {{queue}} | {{random uuid}} | The queue to receive messages from |
| {{routingKey}} | {{null}} | The routing key to use when binding a consumer queue to the exchange. For producer routing keys, you set the header (see header section) |
| {{threadPoolSize}} | {{10}} | The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads. |
| {{username}} | {{null}} | username in case of authenticated access |
| {{password}} | {{null}} | password for authenticated access |
| {{vhost}} | {{/}} | the vhost for the channel |
| {{exchangeType}} | {{direct}} | *Camel 2.12.2:* The exchange type such as direct or topic. |
| {{bridgeEndpoint}} | {{false}} | *Camel 2.12.3:* If the bridgeEndpoint is true, the producer will ignore the message header of rabbitmq.EXCHANGE_NAME and rabbitmq.ROUTING_KEY |
| {{addresses}} | {{null}} | *Camel 2.12.3:* If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like server1:12345, server2:12345|
|connectionTimeout|  0| *Camel 2.14:* Connection timeout|
|requestedChannelMax  |  0| *Camel 2.14:* Connection requested channel max (max number of channels offered)|
|requestedFrameMax|  0| *Camel 2.14:* Connection requested frame max (max size of frame offered)|
|requestedHeartbeat   |  0| *Camel 2.14:* Connection requested heartbeat (heart-beat in seconds offered)|
|sslProtocol  |  null | *Camel 2.14:* Enables SSL on connection, accepted value are `true`, `TLS` and 'SSLv3`|
|trustManager |  null | *Camel 2.14:* Configure SSL trust manager, SSL should be enabled for this option to be effective|
|clientProperties |  null | *Camel 2.14:* Connection client properties (client info used in negotiating with the server)|
|connectionFactory|  null | *Camel 2.14:* Custom RabbitMQ connection factory. When this option is set, all connection options (connectionTimeout, requestedChannelMax...) set on URI are not used|
|automaticRecoveryEnabled | false | *Camel 2.14:* Enables connection automatic recovery (uses connection implementation that performs automatic recovery when connection shutdown is not initiated by the application)|
|networkRecoveryInterval  |  5000 | *Camel 2.14:* Network recoverty interval in milliseconds (interval used when recovering from network failure)|
|topologyRecoveryEnabled  |  true | *Camel 2.14:* Enables connection topology recovery (should topology recovery be performed?)|
{div} 



 See 

[CONF] Apache Camel CXF

2014-04-29 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXF   




 Comment: CAMEL-7401 


...




 Name 
 Required 
 Description 


  wsdlURL  
 No 
 The location of the WSDL. It is obtained from endpoint address by default.   Example: file://local/wsdl/hello.wsdl or wsdl/hello.wsdl  


  serviceClass  
 Yes 
 The name of the SEI (Service Endpoint Interface) class. This class can have, but does not require, JSR181 annotations.  This option is only required by POJO mode. If the wsdlURL option is provided, serviceClass is not required for PAYLOAD and MESSAGE mode. When wsdlURL option is used without serviceClass, the serviceName and portName (endpointName for Spring configuration) options MUST be provided. It is possible to use # notation to reference a serviceClass object instance from the registry. E.g. serviceClass=#beanName. The serviceClass for a CXF producer (that is, the to endpoint) should be a Java interface. Since 2.8, it is possible to omit both wsdlURL and serviceClass options for PAYLOAD and MESSAGE mode. When they are omitted, arbitrary XML elements can be put in CxfPayload's body in PAYLOAD mode to facilitate CXF Dispatch Mode.   Please be advised that the referenced object cannot be a Proxy (Spring AOP Proxy is OK) as it relies on Object.getClass().getName() method for non Spring AOP Proxy.   Example: org.apache.camel.Hello  


  serviceName  
 No 
 The service name this service is implementing, it maps to the wsdl:service@name.   Required for camel-cxf consumer since camel-2.2.0 or if more than one serviceName is present in WSDL.   Example: {http://org.apache.camel}ServiceName 


  endpointName  
 No 
 The port name this service is implementing, it maps to the wsdl:port@name.   Required for camel-cxf consumer since camel-2.2.0 or if more than one portName is present under serviceName.   Example: {http://org.apache.camel}PortName 


  dataFormat  
   

[CONF] Apache Camel CXFRS

2014-04-29 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXFRS   






...




 Name 
 Description 
 Example 
 Required? 
 default value 


  resourceClasses  
 The resource classes which you want to export as REST service. Multiple classes can be separated by comma. 
  resourceClasses=org.apache.camel.rs.Example1,  org.apache.camel.rs.Exchange2  
 No 
  None  


  resourceClass  
  Deprecated: Use resourceClasses The resource class which you want to export as REST service. 
  resourceClass =org.apache.camel.rs.Example1  
 No 
  None  


  httpClientAPI  
  new to Camel 2.1 If it is true, the CxfRsProducer will use the HttpClientAPI to invoke the service  If it is false, the CxfRsProducer will use the ProxyClientAPI to invoke the service 
 httpClientAPI=true 
 No 
  true  


 synchronous 
 New in 2.5, this option will let CxfRsConsumer decide to use sync or async API to do the underlying work. The default value is false which means it will try to use async API by default. 
 synchronous=true 
 No 
 false 


 throwExceptionOnFailure 
 New in 2.6, this option tells the CxfRsProducer to inspect return codes and will generate an Exception if the return code is larger than 207. 
  

[CONF] Apache Camel CXF

2014-04-29 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXF   






...




 Name 
 Required 
 Description 


  wsdlURL  
 No 
 The location of the WSDL. It is obtained from endpoint address by default.   Example: file://local/wsdl/hello.wsdl or wsdl/hello.wsdl  


  serviceClass  
 Yes 
 The name of the SEI (Service Endpoint Interface) class. This class can have, but does not require, JSR181 annotations.  This option is only required by POJO mode. If the wsdlURL option is provided, serviceClass is not required for PAYLOAD and MESSAGE mode. When wsdlURL option is used without serviceClass, the serviceName and portName (endpointName for Spring configuration) options MUST be provided. It is possible to use # notation to reference a serviceClass object instance from the registry. E.g. serviceClass=#beanName. The serviceClass for a CXF producer (that is, the to endpoint) should be a Java interface. Since 2.8, it is possible to omit both wsdlURL and serviceClass options for PAYLOAD and MESSAGE mode. When they are omitted, arbitrary XML elements can be put in CxfPayload's body in PAYLOAD mode to facilitate CXF Dispatch Mode.   Please be advised that the referenced object cannot be a Proxy (Spring AOP Proxy is OK) as it relies on Object.getClass().getName() method for non Spring AOP Proxy.   Example: org.apache.camel.Hello  


  serviceName  
 No 
 The service name this service is implementing, it maps to the wsdl:service@name.   Required for camel-cxf consumer since camel-2.2.0 or if more than one serviceName is present in WSDL.   Example: {http://org.apache.camel}ServiceName 


  endpointName  
 No 
 The port name this service is implementing, it maps to the wsdl:port@name.   Required for camel-cxf consumer since camel-2.2.0 or if more than one portName is present under serviceName.   Example: {http://org.apache.camel}PortName 


  dataFormat  
 No 

[CONF] Apache Camel Jetty

2014-04-14 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Jetty   




 Comment: CAMEL-7360 


...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| {{sessionSupport}} | {{false}} | Specifies whether to enable the session manager on the server side of Jetty. |
| {{httpClient.XXX}} | {{null}} | Configuration of Jetty's [HttpClient|http://wiki.eclipse.org/Jetty/Tutorial/HttpClient]. For example, setting {{httpClient.idleTimeout=3}} sets the idle timeout to 30 seconds. And {{httpClient.timeout=3}} sets the request timeout to 30 seconds, in case you want to timeout sooner if you have long running request/response calls. |
| {{httpClient}} | {{null}} | To use a shared {{org.eclipse.jetty.client.HttpClient}} for all producers created by this endpoint. This option should only be used in special circumstances. |
| {{httpClientMinThreads}} | {{null}} | *Camel 2.11:* *Producer only*: To set a value for minimum number of threads in {{HttpClient}} thread pool. This setting override any setting configured on component level. Notice that both a min and max size must be configured. If not set it default to min 8 threads used in Jettys thread pool. |
| {{httpClientMaxThreads}} | {{null}} | *Camel 2.11:* *Producer only*: To set a value for maximum number of threads in {{HttpClient}} thread pool. This setting override any setting configured on component level. Notice that both a min and max size must be configured. If not set it default to max 254 threads used in Jettys thread pool. |
| {{httpBindingRef}} | {{null}} | Reference to an {{org.apache.camel.component.http.HttpBinding}} in the [Registry]. {{HttpBinding}} can be used to customize how a response should be written for the consumer. |
| {{jettyHttpBindingRef}} | {{null}} | *Camel 2.6.0+:* Reference to an {{org.apache.camel.component.jetty.JettyHttpBinding}} in the [Registry]. {{JettyHttpBinding}} can be used to customize how a response should be written for the producer. |
| {{matchOnUriPrefix}} | {{false}} | Whether or not the {{CamelServlet}} should try to find a target consumer by matching the URI prefix if no exact match is found. See here [How do I let Jetty match wildcards]. |
| {{handlers}} | {{null}} | Specifies a comma-delimited set of {{org.mortbay.jetty.Handler}} instances in your [Registry] (such as your Spring {{ApplicationContext}}). These handlers are added to the Jetty servlet context (for example, to add security). *Important:* You can not use different handlers with different Jetty endpoints using the same port number. The handlers is associated to the port number. If you need different handlers, then use different port numbers. |
| {{chunked}} | {{true}} | *Camel 2.2:* If this option is false Jetty servlet will disable the HTTP streaming and set the content-length header on the response |
| {{enableJmx}} | {{false}} | *Camel 2.3:* If this option is true, Jetty JMX support will be enabled for this endpoint. See [Jetty JMX support|#Jetty JMX support] for more details. |
| {{disableStreamCache}} | {{false}} | *Camel 2.3:* Determines whether or not the raw input stream from Jetty is cached or not (Camel will read the stream into a in memory/overflow to file, [Stream caching]) cache. By default Camel will cache the Jetty input stream to support reading it multiple times to ensure it Camel can retrieve 

[CONF] Apache Camel Karaf

2014-04-14 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Karaf   






...




 Camel Version 
 Karaf Version 


 2.2.0 
 1.2.0 


 2.3.0 
 1.3.0 


 2.4.0 
 1.4.0 


 2.5.0 
 2.1.0 


 2.7.0 
 2.2.0 


 2.7.2 
 2.2.2 


 2.8.2 
 2.2.4 


 2.9.0 
 2.2.5 


 2.10.0 
 2.2.8 


 2.11.0 
 2.3.1 


 2.12.0 
 2.3.2 


2.13.0
2.3.3

  

[CONF] Apache Camel Camel 2.14.0 Release

2014-03-28 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.14.0 Release   






...
The below list is a best effort, and we may miss some updates, its better to use the Camel Dependencies Version Differences web tool which uses the released projects for comparison.

 Bla bla 1.0 to 1.1Scala 2.10.3 to 2.10.4 

Internal changes

Changed ...

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Bean Language

2014-03-25 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Bean Language   






...
Using Bean Expressions from the Java DSL
 



 Code Block








language
java


 




 from(activemq:topic:OrdersTopic).
  filter().method(myBean, isGoldCustomer).
to(activemq:BigSpendersQueue);
 



Using Bean Expressions from XML



 Code Block








lang
xml


 




 

route
  from uri=activemq:topic:OrdersTopic/
  filter
method ref=myBean method=isGoldCustomer/
to uri=activemq:BigSpendersQueue/
  /filter
/route
 



...
   

[CONF] Apache Camel Camel 2.13.0 Release

2014-03-23 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...

Add RouteAware API to inject Route for Service's in routes, for example the Consumer's of the routes.
 IOHelper.gerCharsetName will now lookup key Exchange.CHARSET_NAME in header first and then fallback to property.
Camel Spring now no longer automatic registers spring-event://default endpoint, which wasnt wasn't in use anyway.
 BAM component now uses raw EntityManager JPA API instead of deprecated Spring JpaTemplate 

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.0 Release

2014-03-23 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...
For a more detailed view of new features and bug fixes, see the:

 TODO: fix me 
 release notes for 2.13.0 







 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.0 Release

2014-03-23 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...



 Code Block









xml


 




 dependency
  groupIdorg.apache.camel/groupId
  artifactIdcamel-core/artifactId
  version2.13.0/version
/dependency
 



...
 Git Tag Checkout 



 Code Block




 
svngit co http://svn.apache.org/repos/asf/camel/tags/camelcheckout camel-2.13.0
 



Changelog
For a more detailed view of new features and bug fixes, see the:
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.0 Release

2014-03-23 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...
Git Tag Checkout



 Code Block




 git clone https://git-wip-us.apache.org/repos/asf/camel.git
git checkout camel-2.13.0
 



Changelog
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Release Guide

2014-03-21 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Release Guide   






...

The artifacts for each and every release must be SIGNED; your public key should be added to the KEYS file
Your public key must also be cross-signed by other Apache committers (this can be done at key signing parties at ApacheCon for instance)
Make sure you have the correct maven configuration in ~/.m2/settings.xml 
From Camel 2.10 onwards we will require to use Maven [3.0.2,3.1.0)
From Camel 2.11 onwards we will require to use Maven [3.0.4,3.1.0]
You may want to get familiar with the release settings in the parent apache POM. 
 Make sure you have installed Prince to be able to generate the Camel manual 
  Add your Prince installation bin directory to your PATH variable: 



 Code Block








language
text


 




 
PATH=$PATH:/usr/local/bin/prince

 


 
  

Maven 2 Setup
Before you deploy anything to the maven repository using Maven 2, you should configure your ~/.m2/settings.xml file so that the file permissions of the deployed artifacts are group writable. If you do not do this, other developers will not able to overwrite your SNAPSHOT releases with newer versions. The settings follow the guidelines  used by the Maven project. Please pay particular attention to the password encryption recommendations.
...
Create a new maintenance 

[CONF] Apache Camel Apache Camel 2.12.3 released

2014-03-21 Thread willem jiang (Confluence)














  


willem jiang wrote a blog post:
 


Apache Camel 2.12.3 released   





The Camel community announces the immediate availability of the new major release Camel 2.13.0. This release contains a total of 480 fixes applied in the past 6 months by the community on the Camel 2.13.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem





 View Online   Like  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.0 Release

2014-03-21 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






 Camel 2.13.0  
...
 release 



 Wiki Markup




 {div:style=padding-right:20px;float:left;margin-left:-20px;}
!http://camel.apache.org/download.data/camel-box-v1.0-150x200.png!
{div} 



...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.0 Release

2014-03-21 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...
Welcome to the 2.13.0 release which approx XXX 480 issues resolved (new features, improvements and bug fixes such as...)
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.0 Release

2014-03-21 Thread willem jiang (Confluence)














  


willem jiang moved the page:
 


Camel 2.13.0 Release   







From:
 Apache Camel  In Progress 


To:
 Apache Camel  Download 







 View Online   Like  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Book Front Cover

2014-03-20 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Book Front Cover   









 Wiki Markup




 {div:class=titlepage|id=titlepage}
h1. Apache Camel
h2. User Guide
{html}
h3 id=replacemeVersion 2.1013.40/h3
{html}
Copyright 2007-20132014, Apache Software Foundation
{div} 









 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel RabbitMQ

2014-03-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


RabbitMQ   






...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Property || Default || Description ||
| {{autoAck}} | {{true}} | If messages should be auto acknowledged |
| {{autoDelete}} | {{true}} | If it is true, the exchange will be deleted when it is no longer in use |
| {{durable}} | {{true}} | If we are declaring a durable exchange (the exchange will survive a server restart) |
| {{queue}} | {{random uuid}} | The queue to receive messages from |
| {{routingKey}} | {{null}} | The routing key to use when binding a consumer queue to the exchange. For producer routing keys, you set the header (see header section) |
| {{threadPoolSize}} | {{10}} | The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads. |
| {{username}} | {{null}} | username in case of authenticated access |
| {{password}} | {{null}} | password for authenticated access |
| {{vhost}} | {{/}} | the vhost for the channel |
| {{exchangeType}} | {{direct}} | *Camel 2.12.2:* The exchange type such as direct or topic. |
| {{bridgeEndpoint}} | {{false}} | *Camel 2.12.3:* If the bridgeEndpoint is true, the producer will ignore the message header of rabbitmq.EXCHANGE_NAME and rabbitmq.ROUTING_KEY |
| {{addresses}} | {{null}} | *Camel 2.12.3:* If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like server1:12345, server2:12345|
{div} 



...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel hbase

2014-03-16 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


hbase   




 Comment: CAMEL-7296 


...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| {{initialDelay}} | {{1000}} | Milliseconds before the first polling starts. |
| {{delay}} | {{500}} | Milliseconds before the next poll. |
| {{useFixedDelay}} | {{true}} | Controls if fixed delay or fixed rate is used. See [ScheduledExecutorService|http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html] in JDK for details. |
| timeUnit | {{TimeUnit.MILLISECONDS}} | time unit for {{initialDelay}} and {{delay}} options. |
| {{runLoggingLevel}} | {{TRACE}} | *Camel 2.8:* The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. |
| {{operation}} | {{CamelHBasePut}} | The HBase operation to perform. *Supported values*: {{CamelHBasePut}}, {{CamelHBaseGet}}, {{CamelHBaseDelete}}, and {{CamelHBaseScan}}. |
| {{maxResults}} | {{100}} | The maximum number of rows to scan. *Supported operations:* {{CamelHBaseScan}}. |
| {{mappingStrategyName}} | {{header}} | The strategy to use for mapping Camel messages to HBase columns. Supported values: {{header}}, or {{body}}. |
| {{mappingStrategyClassName}} | {{null}} | The class name of a custom mapping strategy implementation. |
| {{filters}} | {{null}} | A list of filters. *Supported operations*: {{CamelHBaseScan}} |
| {{remove}} | {{true}} | If the option is true, Camel HBase Consumer will remove the rows which it processes.|
{div} 



Header mapping options:
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.13.0 Release

2014-03-11 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...

AHC 1.7.20 to 1.7.21
APNS 0.1.6 to 0.2.3
Atomikos 3.8.0 to 3.9.2
AWS-SDK 1.5.1 to 1.6.3
Avro 1.7.3 to 1.7.5
BeanIO 2.0.6 to 2.0.7
Classmate from 0.8.0 to 1.0.0
Commons Httpclient 4.2.5 to 4.3.1
Commons Httpcore 4.2.4 to 4.3.1
CXF 2.7.6 to 2.7.10
Ehcache 2.7.2 to 2.8.1
Elasticsearch 0.20.6 to 1.0.90.50 
FOP 1.0 to 1.1
Guave 14.0.1 to 15.0
Hazelcast 2.6 to 3.0.2
Hibernate Validator 5.0.1.Final to 5.0.3.Final
ICal4j 1.0.4 to 1.0.5.2
Jclouds 1.6.2-incubating to 1.7.0
Jettison 1.3.4 to 1.3.5
Jetty 7.6.9 to 8.1.12
Joda time 2.1 to 2.3
JRuby 1.7.4 to 1.7.5
JSCH 0.1.49 to 0.1.50
Lucene 3.6.0 to 4.6.1
MongoDB Java Driver 2.11.2 to 2.11.3
MyBatis 3.2.2 to 3.2.4
OGNL 3.0.6 to 3.0.8
Quartz 2.2.0 to 2.2.1
RabbitMQ amqp Java Client 3.1.3 to 3.2.2.
Restlet 2.0.15 to 2.1.4
Saxon 9.5.0.2 to 9.5.1-2
Scala 2.10.2 to 2.10.3
Servlet API 2.5 to 3.0
SNMP4J 2.2.2 to 2.2.3
SolrJ 3.6.2 to 4.6.0
Spring Batch 2.2.1.RELEASE to 2.2.2.RELEASE
Spring Redis 1.0.4.RELEASE to 1.1.0.RELEASE
SSHD 0.8.0 to 0.9.0
TestNG 6.8.5 to 6.8.7
XStream 1.4.4 to 1.4.7  

...






 View Online   Like   View Changes  
 

[CONF] Apache Camel Apache Camel 2.12.3 released

2014-02-25 Thread willem jiang (Confluence)














  


willem jiang wrote a blog post:
 


Apache Camel 2.12.3 released   





The Camel community announces the immediate availability of the new patch release Camel 2.12.3. This release contains a total of 140 fixes applied in the past 3 months by the community on the Camel 2.12.x maintenance branch.
The artifacts are published and ready for you todownloadeither from the Apache mirrors or from the Central Maven repository. For more details please take a look at therelease notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem





 View Online   Like  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Camel 2.12.3 Release

2014-02-24 Thread willem jiang (Confluence)














  


willem jiang created a page:
 


Camel 2.12.3 Release   





Camel 2.12.3 release

  


New and Noteworthy
Welcome to the 2.12.3 release which is mainly a bug fix release with 140 issues resolved..
For more details see theJIRA tickets 
Known Issues

SeeCamel 2.12.0 Release 

Important changes to consider when upgrading

SeeCamel 2.12.0 Release 

Notice

SeeCamel 2.12.0 Release 

Getting the Distributions
Binary Distributions




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.12.3.zip  
  apache-camel-2.12.3.zip.asc  


 Unix/Linux/Cygwin Distribution 
  apache-camel-2.12.3.tar.gz  
  apache-camel-2.12.3.tar.gz.asc  





The above URLs use redirection
Icon

The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using FireFox 


Source Distributions




 

[CONF] Apache Camel Camel 2.11.4 release

2014-02-24 Thread willem jiang (Confluence)














  


willem jiang created a page:
 


Camel 2.11.4 release   





Camel 2.11.4 release

  


New and Noteworthy
Welcome to the 2.11.4 release whichcomes with about 26 issues resolved.
For more details see the JIRA tickets 
Known Issues

See Camel 2.11.0 Release 

Important changes to consider when upgrading

See Camel 2.11.0 Release 

Notice

See Camel 2.11.0 Release 

Getting the Distributions
Binary Distributions




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.11.4.zip  
  apache-camel-2.11.4.zip.asc  


 Unix/Linux/Cygwin Distribution 
  apache-camel-2.11.4.tar.gz  
  apache-camel-2.11.4.tar.gz.asc  





The above URLs use redirection
Icon

The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using FireFox 


Source Distributions





[CONF] Apache Camel Camel 2.11.4 Release

2014-02-24 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.11.4 Release   






 Camel 2.11.4 release 



 Wiki Markup




 {div:style=padding-right:20px;float:left;margin-left:-20px;}
!http://camel.apache.org/download.data/camel-box-v1.0-150x200.png!
{div} 






 Wiki Markup




 {div:style=min-height:200px}
{div} 



 New and Noteworthy 
Welcome to the 2.11.4 release whichcomes with about 26 issues resolved.
For more details see the JIRA tickets 
 Known Issues 

See Camel 2.11.0 Release 

 Important changes to consider when upgrading 

See Camel 2.11.0 Release 

 Notice 

See Camel 2.11.0 Release 

 Getting the Distributions 
 Binary Distributions 




 Description 
 Download Link 
 PGP Signature file of download 


 Windows Distribution 
  apache-camel-2.11.4.zip  
  apache-camel-2.11.4.zip.asc  

   

[CONF] Apache Camel Crypto

2014-02-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Crypto   






...
The Crypto Data Format integrates the Java Cryptographic Extension into Camel, allowing simple and flexible encryption and decryption of messages using Camel's familiar marshall and unmarshal formatting mechanism. It assumes marshalling to mean encryption to cyphertext and unmarshalling to mean decryption back to the original plaintext. This data format implements only symmetric (shared-key) encryption and decyption.
Options



 Wiki Markup




 
{div:class=confluenceTableSmall}
|| Name || Type || Default || Description ||
| {{algorithm}} | {{String}} | {{DES/CBC/PKCS5Padding}} | The JCE algorithm name indicating the cryptographic algorithm that will be used. |
| {{algorithmParameterSpec}} | {{java.security.spec.AlgorithmParameterSpec}} | {{null}} |A JCE AlgorithmParameterSpec used to initialize the Cipher. |
| {{bufferSize}} | {{Integer}} | {{2048}} | the size of the buffer used in the signature process. |
| {{cryptoProvider}} | {{String}} | {{null}} | The name of the JCE Security Provider that should be used. |
| {{initializationVector}} | {{byte[]}} | {{null}} | A byte array containing the Initialization Vector that will be used to initialize the Cipher. |
| {{inline}} | {{boolean}} | {{false}} | Flag indicating that the configured IV should be inlined into the encrypted data stream. |
| {{macAlgorithm}} | {{String}} | {{null}} | The JCE algorithm name indicating the Message Authentication algorithm. |
| {{shouldAppendHMAC}} | {{boolean}} | {{null}} | Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data.|
{div}
 



Basic Usage
At its most basic all that is required to encrypt/decrypt an exchange is a shared secret key. If one or more instances of the Crypto data format are configured with this key the format can be used to encrypt the payload in one route (or part of one) and decrypted in another. For example, using the Java DSL as follows:
...
PGPDataFormat Options



 Wiki Markup




 
{div:class=confluenceTableSmall}
|| Name || Type || Default || Description ||
| {{keyUserid}} | {{String}} | {{null}} | The user ID of the key in the PGP keyring used during encryption. See also option {{keyUserids}}. Can also be only a part of a user ID. For example, if the user ID is Test User t...@camel.com then you can use the part Test User or 

[CONF] Apache Camel CXFRS

2014-02-18 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXFRS   






...

 
NO 



 Name 
 Description 
 Example 
 Required? 
 default value 


  resourceClasses  
 The resource classes which you want to export as REST service. Multiple classes can be separated by comma. 
  resourceClasses=org.apache.camel.rs.Example1,  org.apache.camel.rs.Exchange2  
 No 
  None  


  resourceClass  
  Deprecated: Use resourceClasses The resource class which you want to export as REST service. 
  resourceClass =org.apache.camel.rs.Example1  
 No 
  None  


  httpClientAPI  
  new to Camel 2.1 If it is true, the CxfRsProducer will use the HttpClientAPI to invoke the service  If it is false, the CxfRsProducer will use the ProxyClientAPI to invoke the service 
 httpClientAPI=true 
 No 
  true  


 synchronous 
 New in 2.5, this option will let CxfRsConsumer decide to use sync or async API to do the underlying work. The default value is false which means it will try to use async API by default. 
 synchronous=true 
 No 
 false 


 throwExceptionOnFailure 
 New in 2.6, this option tells the CxfRsProducer to inspect return 

[CONF] Apache Camel Release Guide

2014-02-17 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Release Guide   






...

 Grab the latest source from Git



 Code Block




 git clone https://git-wip-us.apache.org/repos/asf/camel.git
cd camel
 


 
 Verify headers with rat 



 Code Block








language
text


 




 mvn -e org.apache.rat:apache-rat-plugin:check
grep -e ' !?' target/rat.txt -- will show any files without licenses
 






 Info




 Because of MRELEASE-812, you should use the following setting:


[CONF] Apache Camel CXFRS

2014-02-13 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXFRS   




 Comment: CAMEL-7194 


...



 Wiki Markup




 || Name || Description || Example || Required? || default value ||
| {{resourceClasses}} | The resource classes which you want to export as REST service. Multiple classes can be separated by comma. | {{resourceClasses=org.apache.camel.rs.Example1,}}
{{org.apache.camel.rs.Exchange2}} | No | _None_ |
| {{resourceClass}} | *Deprecated*: Use {{resourceClasses}} The resource class which you want to export as REST service. | {{resourceClass =org.apache.camel.rs.Example1}} | No | _None_ |
| {{httpClientAPI}} | *new to Camel 2.1* If it is true, the CxfRsProducer will use the HttpClientAPI to invoke the service \\
If it is false, the CxfRsProducer will use the ProxyClientAPI to invoke the service | httpClientAPI=true | No | _true_ |
| synchronous | New in 2.5, this option will let CxfRsConsumer decide to use sync or async API to do the underlying work. The default value is false which means it will try to use async API by default. | synchronous=true | No | false |
| throwExceptionOnFailure | New in 2.6, this option tells the CxfRsProducer to inspect return codes and will generate an Exception if the return code is larger than 207. | throwExceptionOnFailure=true | No | true |
| {{maxClientCacheSize}} | New in 2.6, you can set a IN message header CamelDestinationOverrideUrl to dynamically override the target destination Web Service or REST Service defined in your routes.nbsp; The implementation caches CXF clients or ClientFactoryBean in CxfProvider and CxfRsProvider.nbsp; This option allows you to configure the maximum size of the cache. \\ | maxClientCacheSize=5 | No \\ | 10 |
| {{setDefaultBus}} | New in 2.9.0. Will set the default bus when CXF endpoint create a bus by itself | {{setDefaultBus=true}} | No | {{false}} |
| {{bus}} | New in 2.9.0. A default bus created by CXF Bus Factory. Use {{\#}} notation to reference a bus object from the registry. The referenced object must be an instance of {{org.apache.cxf.Bus}}. | {{bus=#busName}} | No | _None_ |
| {{bindingStyle}} | *As of 2.11*. Sets how requests and responses will be mapped to/from Camel. Two values are possible:
- {{SimpleConsumer}} = see the [Consuming a REST Request with the Simple Binding Style|#Consuming a REST Request - Simple Binding Style] below.
- {{Default}} = the default style. For consumers this passes on a {{MessageContentsList}} to the route, requiring low-level processing in the route. | {{bindingStyle=SimpleConsumer}} | No | _Default_ |
| {{providers}}| *Since Camel 2.12.2* Addset custom JAX-RS providers list to the listCxfRs of providersendpoint. | No | _None_ |
| {{schemaLocations}} | *Since Camel 2.12.2* Sets the locations of the schemas which can be used to validate the incoming XML or JAXB-driven JSON. | NO | _None_ |
| {{features}} | *Since Camel 2.12.3* Set the feature list to the CxfRs endpoint. | No | _None_ |
 



You can also configure the CXF REST endpoint through the spring configuration. Since there are lots of difference between the CXF REST client and CXF REST Server, we provide different 

[CONF] Apache Camel CXF

2014-02-07 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXF   






...
 POJO Mode: Both SOAP with Attachment and MTOM are supported (see example in Payload Mode for enabling MTOM). However, SOAP with Attachment is not tested. Since attachments are marshalled and unmarshalled into POJOs, users typically do not need to deal with the attachment themself. Attachments are propagated to Camel message's attachments if the MTOM is not enabled, since 2.112.3. So, it is possible to retreive attachments by Camel Message API
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Websocket

2014-02-07 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Websocket   






...



 Info








title
Version currently supported


 




 As Camel 2.10 uses Jetty 7.5.4.v20111024, only the D00 to D13 IETF implementations are available. Camel 2.11 uses Jetty 7.6.7. 



URI format



 Code Block




 

websocket://hostname[:port][/resourceUri][?options]
 



...
The WebsocketComponent can be configured prior to use, to setup host, to act as a websocket server.



 Wiki Markup




 
{div:class=confluenceTableSmall}
|| Option || Default || Description ||
| host | 0.0.0.0 | The hostname. |
| port | 9292 | The port number. |
| staticResources | {{null}} | Path for static resources such as index.html files etc. If this option has been configured, then a server is started on the given hostname and port, to service the static resources, eg such as an index.html file. If this option has not been configured, then no server is started. |
| sslContextParameters | | Reference 

[CONF] Apache Camel Camel 2.13.0 Release

2014-01-21 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...

AHC 1.7.20 to 1.7.21
APNS 0.1.6 to 0.2.3
Atomikos 3.8.0 to 3.9.2
AWS-SDK 1.5.1 to 1.6.3
Avro 1.7.3 to 1.7.5
BeanIO 2.0.6 to 2.0.7
Commons Httpclient 4.2.5 to 4.3.1
Commons Httpcore 4.2.4 to 4.3.1
CXF 2.7.6 to 2.7.8
EHCache 2.7.2 to 2.8.0
Elasticsearch 0.20.6 to 0.90.5
FOP 1.0 to 1.1
Guave 14.0.1 to 15.0
Hazelcast 2.6 to 3.0.2
ICal4j 1.0.4 to 1.0.5.2
Jclouds 1.6.2-incubating to 1.7.0
Jettison 1.3.4 to 1.3.5
Jetty 7.6.9 to 8.1.12
Joda time 2.1 to 2.3
JRuby 1.7.4 to 1.7.5
Lucene 3.6.0 to 4.5.1
MongoDB Java Driver 2.11.2 to 2.11.3
MyBatis 3.2.2 to 3.2.4
OGNL 3.0.6 to 3.0.8
Quartz 2.2.0 to 2.2.1
 RabbitMQ amqp Java Client 3.1.3 to 3.2.2. 
Restlet 2.0.15 to 2.1.4
Saxon 9.5.0.2 to 9.5.1-2
Scala 2.10.2 to 2.10.3
Servlet API 2.5 to 3.0
SNMP4J 2.2.2 to 2.2.3
SolrJ 3.6.2 to 4.5.1
Spring Batch 2.2.1.RELEASE to 2.2.2.RELEASE
Spring Redis 1.0.4.RELEASE to 1.1.0.RELEASE
SSHD 0.8.0 to 0.9.0
TestNG 6.8.5 to 6.8.7
XStream 1.4.4 to 1.4.5  

...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 
  

[CONF] Apache Camel XMPP

2014-01-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


XMPP   






...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-xmpp/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency
 



URI format
 



 Code Block








language
text


 




 xmpp://[login@]hostname[:port][/participant][?Options]
 



...

[CONF] Apache Camel Twitter

2014-01-14 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Twitter   






...



 Code Block









xml


 




 dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-twitter/artifactId
version${camel-version}/version
/dependency
 



URI format



 Code Block








language
text


 




 twitter://endpoint[?options]
 



...
The twitter component can be configured with the Twitter account settings which is mandatory to configure before using. You can also configure these options directly in the endpoint.

  

[CONF] Apache Camel CXF Example OSGi

2014-01-13 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXF Example OSGi   






...
You will need to compile the example first:



 Code Block








language
text


 




 
 mvn install
 



Remarks:

During the compilation phase, a unit test will be performed which simulates the client calling the web service exposed by our camel/cxf route.
In Eclipse, I have used the following option when starting the junit test case. This option tells CXF that it must use log4j : -Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger

...
1) launch the server



 Code Block








language
text


 



   

[CONF] Apache Camel CXF Example OSGi Blueprint

2014-01-13 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXF Example OSGi Blueprint   






...
You will need to compile this example first:



 Code Block








language
text


 




 
 mvn install
 



To run the example on Apache ServiceMix 4.x or Apache Karaf 2.x
1) launch the server



 Code Block








language
text


 




 
 karaf.bat
   



Note for Karaf 2.2.x:  a) edit the etc/jre.properties file to add the following packages to be exported

 

[CONF] Apache Camel AWS-SES

2014-01-10 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


AWS-SES   






...



 Info








title
Prerequisites


 




 You must have a valid Amazon Web Services developer account, and be signed up to use Amazon SES. More information are available at Amazon SES. 



URI Format



 Code Block




 

aws-ses://from[?options]
 



You can append query options to the URI in the following format, ?options=valueoption2=value...
...
Message headers evaluated by the SES producer



 Wiki Markup




 
{div:class=confluenceTableSmall}
|| Header || Type || Description ||
| {{CamelAwsSesFrom}} | {{String}} | The sender's email address. |
| {{CamelAwsSesTo}} | {{ListString}} | The destination(s) for this email. |
| {{CamelAwsSesSubject}} | {{String}} | The subject of the message. |
| {{CamelAwsSesReplyToAddresses}} | {{ListString}} | The reply-to email address(es) for the message. |
| {{CamelAwsSesReturnPath}} | 

[CONF] Apache Camel CXFRS

2014-01-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


CXFRS   






...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
   groupIdorg.apache.camel/groupId
   artifactIdcamel-cxf/artifactId
   versionx.x.x/version  !-- use the same version as your Camel core version --
/dependency
 



URI format
 



 Code Block








language
java


 




 cxfrs://address?options
 



Where address represents the CXF endpoint's address

[CONF] Apache Camel Building

2014-01-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Building   






...
Building with Spring 4.0
From Camel 2.1113.0 onwards, if you want Camel to be build against Spring 3.2 4.0 to work around the back compatible issueCAMEL-7074, you have to build with the maven profilespring3spring4.2. 



 Code Block








language
text


 




 mvn clean install -Pspring4
 



...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Camel Index

2014-01-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Index   









 Section








 Column








 Wiki Markup




 
{div:style=margin-left:-20px; text-align:center; padding-right:20px;}
*[Download it Today\!|Download]*
!http://camel.apache.org/images/camel-box-small.png|alt=Camel Box!
{div}
 


 






 Column








 Include Page

 

[CONF] Apache Camel Restlet

2014-01-05 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Restlet   




 Comment: CAMEL-7014 


...



 Wiki Markup




 || Name || Default Value || Description ||
| {{headerFilterStrategy=#}}{_}refName_ | An instance of {{RestletHeaderFilterStrategy}} | Use the {{\#}} notation ({{headerFilterStrategy=#}}{_}refName_) to reference a header filter strategy in the Camel Registry.  The strategy will be plugged into the restlet binding if it is {{HeaderFilterStrategyAware}}. |
| {{restletBinding=#}}{_}refName_ | An instance of {{DefaultRestletBinding}} | The bean ID of a {{RestletBinding}} object in the Camel Registry. |
| {{restletMethod}} | {{GET}} | On a producer endpoint, specifies the request method to use.  On a consumer endpoint, specifies that the endpoint consumes only {{restletMethod}} requests.  The string value is converted to [org.restlet.data.Method|http://www.restlet.org/documentation/1.1/api/org/restlet/data/Method.html] by the {{Method.valueOf(String)}} method. |
| {{restletMethods}} | _None_ | *Consumer only* Specify one or more methods separated by commas (e.g. {{restletMethods=post,put}}) to be serviced by a restlet consumer endpoint.  If both {{restletMethod}} and {{restletMethods}} options are specified, the {{restletMethod}} setting is ignored. |
| {{restletRealm=#}}{_}refName_ | {{null}} | The bean ID of the Realm Map in the Camel Registry. |
| {{restletUriPatterns=#}}{_}refName_ | _None_ | *Consumer only* Specify one ore more URI templates to be serviced by a restlet consumer endpoint, using the {{\#}} notation to reference a {{ListString}} in the Camel Registry.  If a URI pattern has been defined in the endpoint URI, both the URI pattern defined in the endpoint and the {{restletUriPatterns}} option will be honored. |
| {{throwExceptionOnFailure}} (*2.6 or later*)| true | *Producer only * Throws exception on a producer failure. |
| {{connectionTimeout}}| 30 | *Since Camel 2.12.3* *Producer only* The Client will give up connection if the connection is timeout, 0 for unlimited wait.|
| {{socketTimeout}} | 30 | *Since Camel 2.12.3* *Producer only* The Client socket receive timeout, 0 for unlimited wait.|
 



Component Options
The Restlet component can be configured with the following options. Notice these are component options and cannot be configured on the endpoint, see further below for an example.
...






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


   

[CONF] Apache Camel Camel 2.13.0 Release

2013-12-29 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...
New Tutorials 
New Tooling
API changes

 The interface of http4org.apache.camel.component.http4.HttpClientConfigurer's method configureHttpClient(HttpClient client) was changed toconfigureHttpClient(HttpClientBuilder clientBuilder) 

Known Issues
Dependency Upgrades
...

AHC 1.7.20 to 1.7.21
APNS 0.1.6 to 0.2.3
AWS-SDK 1.5.1 to 1.6.3
Avro 1.7.3 to 1.7.5
BeanIO 2.0.6 to 2.0.7
CXF 2.7.6 to 2.7.8
EHCache 2.7.2 to 2.78.40 
Elasticsearch 0.20.6 to 0.90.5
FOP 1.0 to 1.1
Guave 14.0.1 to 15.0
Hazelcast 2.6 to 3.0.2
ICal4j 1.0.4 to 1.0.5.2
Jclouds 1.6.2-incubating to 1.7.0
Jetty 7.6.9 to 8.1.12
Joda time 2.1 to 2.3
JRuby 1.7.4 to 1.7.5
Lucene 3.6.0 to 4.5.1
MongoDB Java Driver 2.11.2 to 2.11.3
Quartz 2.2.0 to 2.2.1
Restlet 2.0.15 to 2.1.4
Saxon 9.5.0.2 to 9.5.1-2
Scala 2.10.2 to 2.10.3
Servlet API 2.5 to 3.0
SolrJ 3.6.2 to 4.5.1
Spring Batch 2.2.1.RELEASE to 2.2.2.RELEASE
Spring Redis 1.0.4.RELEASE to 1.1.0.RELEASE
SSHD 0.8.0 to 0.9.0
TestNG 6.8.5 to 6.8.7
 XStream 1.4.4 to 1.4.5   

Internal changes

Add RouteAware API to inject Route for Service's in routes, for example the Consumer's of the routes.
 IOHelper.gerCharsetName will now lookup key Exchange.CHARSET_NAME in header first and then fallback to property.
Camel Spring now longer automatic registers spring-event://default endpoint, which wasnt in use anyway.

[CONF] Apache Camel AWS-SQS

2013-12-25 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


AWS-SQS   




 Comment: CAMEL-6623 


...



 Info








title
Prerequisites


 




 You must have a valid Amazon Web Services developer account, and be signed up to use Amazon SQS. More information are available at Amazon SQS. 



URI Format



 Code Block




 

aws-sqs://queue-name[?options]
 



The queue will be created if they don't already exists. You can append query options to the URI in the following format, ?options=valueoption2=value...
URI Options



 Wiki Markup




 
{div:class=confluenceTableSmall}
|| Name || Default Value || Context || Description ||
|amazonSQSClient | {{null}} | Shared | Reference to a {{com.amazonaws.services.sqs.AmazonSQS}} in the [Registry]. |
|accessKey | {{null}} | Shared | Amazon AWS Access Key |
|secretKey | {{null}} | Shared | Amazon AWS Secret Key |
|amazonSQSEndpoint | {{null}} | Shared | The region with which the 

[CONF] Apache Camel Groovy

2013-12-25 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Groovy   






...
To use a Groovy _expression_ use the following Java code
 



 Code Block








language
java


 




 ... groovy(someGroovyExpression) ...
 



For example you could use the groovy function to create an Predicate in a Message Filter or as an _expression_ for a Recipient List 
Example
 



 Code Block








language
java


 




 // lets route if a line item is over $100
from(queue:foo).filter(groovy(request.lineItems.any { i - i.value  100 })).to(queue:bar)
 


   

[CONF] Apache Camel Scripting Languages Context

2013-12-25 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Scripting Languages Context   






...




 Attribute 
 Type 
 Value 


 context 
  org.apache.camel.CamelContext  
 The Camel Context ( It cannot be used in groovy)  


camelContext
org.apache.camel.CamelContext
The Camel Context


 exchange 
  org.apache.camel.Exchange  
 The current Exchange 


 request 
  org.apache.camel.Message  
 The IN message 


 response 
  org.apache.camel.Message  
 The OUT message 


 properties 
  org.apache.camel.builder.script.PropertiesFunction  
  Camel 2.9: Function with a resolve method to make it easier to use Camels Properties component from scripts. See further below for example. 




...
If you need to use the Properties component from a script to lookup property placeholders, then its a bit cumbersome to do so. For example to set a header name myHeader with a value from a property placeholder, which key is provided in a header named foo.



 

[CONF] Apache Camel SEDA

2013-12-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


SEDA   






...



 Tip








title
Synchronous


 




 The Direct component provides synchronous invocation of any consumers when a producer sends a message exchange. 



URI format



 Code Block




 

seda:someName[?options]
 



Where someName can be any string that uniquely identifies the endpoint within the current CamelContext.
...
By default, the SEDA component always intantiates LinkedBlockingQueue, but you can use different implementation, you can reference your own BlockingQueue implementation, in this case the size option is not used



 Code Block




 

bean id=arrayQueue class=java.util.ArrayBlockingQueue
constructor-arg index=0 value=10 !-- size --
constructor-arg index=1 value=true !-- fairness --
/bean
!-- ... and later --
fromseda:array?queue=#arrayQueue/from
 


[CONF] Apache Camel Splunk

2013-12-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Splunk   






...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

	dependency
	groupIdorg.apache.camel/groupId
	artifactIdcamel-splunk/artifactId
	version${camel-version}/version
	/dependency
 



URI format



 Code Block




 
 splunk://[endpoint]?[options]
 



...
When publishing events the message body should contain a SplunkEvent.
 Example 



 Code Block








language
 

[CONF] Apache Camel Content Based Router

2013-12-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Content Based Router   






...
The following example shows how to route a request from an input seda:a endpoint to either seda:b, seda:c or seda:d depending on the evaluation of various Predicate expressions
 Using the Fluent Builders 
...
  




 Code Block








language
java


 




 
RouteBuilder builder = new RouteBuilder() {
public void configure() {
errorHandler(deadLetterChannel(mock:error));

from(direct:a)
.choice()
.when(header(foo).isEqualTo(bar))
.to(direct:b)
.when(header(foo).isEqualTo(cheese))
.to(direct:c)
.otherwise()
.to(direct:d);
}
};
 






 Tip




 See Why can I not use when or otherwise in a Java Camel route if you have problems with the Java DSL, accepting using when or otherwise. 



 Using the Spring XML Extensions 
...

  



   

[CONF] Apache Camel Wire Tap

2013-12-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Wire Tap   






...



 Info








title
Streams


 




 If you Wire Tap a stream message body then you should consider enabling Stream caching to ensure the message body can be read at each endpoint. See more details at Stream caching. 



Options



 Wiki Markup




 
{div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| {{uri}} | | The URI of the endpoint to which the wire-tapped message will be sent. You should use either {{uri}} or {{ref}}. |
| {{ref}} | | Reference identifier of the endpoint to which the wire-tapped message will be sent. You should use either {{uri}} or {{ref}}. |
| {{executorServiceRef}} | | Reference identifier of a custom [Thread Pool|Threading Model] to use when processing the wire-tapped messages. If not set, Camel will use a default thread pool. |
| {{processorRef}} | | Reference identifier of a custom [Processor] to use for creating a new message (e.g., the send a new message mode). See below. |
| {{copy}} | {{true}} | *Camel 2.3*: Whether to copy the [Exchange] before wire-tapping the message. |
| {{onPrepareRef}} | | *Camel 2.8:* Reference identifier of a custom [Processor] to prepare the copy of the [Exchange] to be wire-tapped. This allows you to do any custom logic, such as deep-cloning the message payload. |
{div}
 



WireTap thread pool
The Wire Tap uses a thread pool to process the tapped messages. This thread pool will by default use the settings detailed at 

[CONF] Apache Camel SEDA

2013-12-19 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


SEDA   






...
You can append query options to the URI in the following format: ?option=valueoption=value… 
Options



 Wiki Markup




 
{div:class=confluenceTableSmall}
|| Name || Since || Default || Description ||
| {{size}} | |  | The maximum capacity of the SEDA queue (i.e., the number of messages it can hold). The default value in Camel 2.2 or older is {{1000}}. From Camel 2.3 onwards, the size is unbounded by default. *Notice:* Mind if you use this option, then its the first endpoint being created with the queue name, that determines the size. To make sure all endpoints use same size, then configure the size option on all of them, or the first endpoint being created. From *Camel 2.11* onwards, a validation is taken place to ensure if using mixed queue sizes for the same queue name, Camel would detect this and fail creating the endpoint. |
| {{concurrentConsumers}} | | {{1}} | Number of concurrent threads processing exchanges. |
| {{waitForTaskToComplete}} | | {{IfReplyExpected}} | Option to specify whether the caller should wait for the async task to complete or not before continuing. The following three options are supported: {{Always}}, {{Never}} or {{IfReplyExpected}}. The first two values are self-explanatory. The last value, {{IfReplyExpected}}, will only wait if the message is [Request Reply] based. The default option is {{IfReplyExpected}}. See more information about [Async] messaging. |
| {{timeout}} | | {{3}} | Timeout (in milliseconds) before a SEDA producer will stop waiting for an asynchronous task to complete. See {{waitForTaskToComplete}} and [Async] for more details. In *Camel 2.2* you can now disable timeout by using 0 or a negative value. |
| {{multipleConsumers}} | *2.2* | {{false}} | Specifies whether multiple consumers are allowed. If enabled, you can use [SEDA] for [Publish-Subscribe|http://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern] messaging. That is, you can send a message to the SEDA queue and have each consumer receive a copy of the message. When enabled, this option should be specified on every consumer endpoint. |
| {{limitConcurrentConsumers}} | *2.3* | {{true}} | Whether to limit the number of {{concurrentConsumers}} to the maximum of {{500}}. By default, an exception will be thrown if a SEDA endpoint is configured with a greater number. You can disable that check by turning this option off. |
| {{blockWhenFull}} | *2.9* | {{false}} | Whether a thread that sends messages to a full SEDA queue will block until the queue's capacity is no longer exhausted.  By default, an exception will be thrown stating that the queue is full. By enabling this option, the calling thread will instead block and wait until the message can be accepted. |
| {{queueSize}} | *2.9* |  | *Component only:* The maximum default size (capacity of the number of messages it can hold) of the SEDA queue. This option is used if {{size}} is not in use. |
| {{pollTimeout}} | *2.9.3* | {{1000}} | _Consumer only_ -- The timeout used when polling. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown. |
| {{purgeWhenStopping}} | *2.11.1* | {{false}} | Whether to purge 

[CONF] Apache Camel Camel 2.13.0 Release

2013-12-16 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Camel 2.13.0 Release   






...

The MBean names registered by Camel JMX no longer include the hostname in the context part, eg before context=myHost/myCamelId and now after context=myCamelId. Having the hostname in the MBean name does not bring much value, and in fact makes things more complicated as the mbean name changes depending on the host running Camel.
 MBean naming in OSGi cleaned up to use simpler naming with symbolicName. Before we could have MBean names with duplicate bundle ids such as context=114-114-camel-6, which now is using the symbolic name instead, context=MyApplication.
When using multiple OSGi Blueprint cm:property-placeholder's then Camel now favors using non-default placeholders, or the last property-placeholder defined in the Blueprint XML file. This allows for example to define default properties in one placeholder, and override these values in other placeholders.
 FTP consumer allow to download a single named file without using the FTP LIST command. This allows to download a known file from a FTP server even when the user account does not have permission to do FTP LIST command.
 FTP consumer allow to ignore file not found or insufficient file permission errors.
 Data Format using marshal now leverages Stream Cachingcaching out of the box if enabled, which allows to marshal big streams and spool to disk, instead of being pure in-memory based.
Improved using Bean when the bean is looked up in the Registry, when using concurrent processing in the route.
Added cache option to beanRef and bean in the DSL. This avoids looking up the Bean from the Registry on each usage; this can safely be done for singleton beans.
Configuring Data Formats in XML attributes now supports reference lookup using the # syntax, eg jaxb xmlStreamWriterWrapper=#myWriterWrapper .. 
 JDBC component now also support outputType to specify the expected output as either a List or single Object. As well allow to map to a bean using a BeanRowMapper to control the mapping of ROW names to bean properties.
Both Quartz as well as Quartz2 based ScheduledRoutePolicy has been improved to better support cluster setups (e.g. to not schedule jobs being already scheduled through another node inside a given cluster).
Reduced the work the Aggregate EIP does while holding a lock during aggregation, which can lead to improved performance in some use-cases.
 JndiRegistry now implements all the find methods.
 VM component now supports multipleConsumers=true across deployment units.
Added @PreConsumed to JPA consumer.
Added CamelFileName header support to the hdfs HDFS producer
Like as JpaConsumer now also JpaProducer of the JPA component supports the CamelEntityManager header.
 Restlet consumer now supports returning custom headers as HTTP headers from the Camel Message.
   

[CONF] Apache Camel Twitter

2013-12-16 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Twitter   






...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-twitter/artifactId
version${camel-version}/version
/dependency
 



URI format



 Code Block




 

twitter://endpoint[?options]
 



...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| type | {{direct}} | direct, event, or polling |
| delay | {{60}} | in seconds |
| consumerKey | {{null}} | Consumer Key. Can also be configured on the {{TwitterComponent}} level instead. |
| consumerSecret | {{null}} | Consumer Secret. Can also be configured on the {{TwitterComponent}} level instead. |
| accessToken | {{null}} | Access Token. Can also be configured on the {{TwitterComponent}} level instead. |
| accessTokenSecret | {{null}} | Access Token 

[CONF] Apache Camel RabbitMQ

2013-12-16 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


RabbitMQ   




 Comment: CAMEL-6868 


...
Maven users will need to add the following dependency to their pom.xml for this component:



 Code Block









xml


 




 

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-rabbitmq/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency
 



URI format



 Code Block




 

rabbitmq://hostname[:port]/exchangeName?[options]
 



...



 Wiki Markup




 {div:class=confluenceTableSmall}
|| Property || Default || Description ||
| {{autoAck}} | {{true}} | If messages should be auto acknowledged |
| {{autoDelete}} | {{true}} | If it is true, the exchange will be deleted when it is no longer in use |
| {{durable}} | {{true}} | If we are declaring a durable exchange (the exchange will survive a server restart) |
| {{queue}} | {{random uuid}} | The queue 

[CONF] Apache Camel Download

2013-12-15 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Download   




 Comment: CAMEL-7070 


...
To use this release in your maven project, the proper dependency configuration that you should use in your Maven POM is:



 Code Block









xml


 




 

dependency
  groupIdorg.apache.camel/groupId
  artifactIdcamel-core/artifactId
  version2.12.2/version
/dependency
 



...
See the Download Archives for all time releases.
 



 Include Page









In Progress


 




 Snapshots 
 Help us test the latest SNAPSHOTS 


   

[CONF] Apache Camel Download

2013-12-15 Thread willem jiang (Confluence)














  


willem jiang edited the page:
 


Download   




 Comment: CAMEL-7070 


...
To use this release in your maven project, the proper dependency configuration that you should use in your Maven POM is:



 Code Block









xml


 




 

dependency
  groupIdorg.apache.camel/groupId
  artifactIdcamel-core/artifactId
  version2.12.2/version
/dependency
 



...
See the Download Archives for all time releases.
 



 Include Page









In Progress


 




 Snapshots 
 Help us test the latest SNAPSHOTS 


   

  1   2   >