svn commit: r900803 - /camel/trunk/components/camel-web/pom.xml

2010-01-19 Thread janstey
Author: janstey
Date: Tue Jan 19 14:44:43 2010
New Revision: 900803

URL: http://svn.apache.org/viewvc?rev=900803&view=rev
Log:
switch to new nexus glassfish repo

Modified:
camel/trunk/components/camel-web/pom.xml

Modified: camel/trunk/components/camel-web/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-web/pom.xml?rev=900803&r1=900802&r2=900803&view=diff
==
--- camel/trunk/components/camel-web/pom.xml (original)
+++ camel/trunk/components/camel-web/pom.xml Tue Jan 19 14:44:43 2010
@@ -42,11 +42,14 @@
java.net Maven 2 Repo
http://download.java.net/maven/2

-   
-   glassfish-repository
-   java.net Maven 2 Glassfish Repo
-   http://download.java.net/maven/glassfish
-   
+
+   glassfish-repo-archive
+   Nexus repository collection for Glassfish
+   
http://maven.glassfish.org/content/groups/glassfish
+   
+   never
+   
+   

release.openqa.org
OpenQA Releases




svn commit: r900800 - in /camel/trunk/examples/camel-example-gae/src/main: java/org/apache/camel/example/gae/ resources/ webapp/ webapp/WEB-INF/

2010-01-19 Thread krasserm
Author: krasserm
Date: Tue Jan 19 14:37:11 2010
New Revision: 900800

URL: http://svn.apache.org/viewvc?rev=900800&view=rev
Log:
addition of login feature to Camel GAE example and major revision of 
application logic implementation

Added:

camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportData.java

camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportGenerator.java

camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/RequestProcessor.java

camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ResponseProcessor.java
Removed:

camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/WeatherProcessor.java
Modified:

camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/TutorialRouteBuilder.java
camel/trunk/examples/camel-example-gae/src/main/resources/context.xml

camel/trunk/examples/camel-example-gae/src/main/webapp/WEB-INF/appengine-web.xml
camel/trunk/examples/camel-example-gae/src/main/webapp/WEB-INF/web.xml
camel/trunk/examples/camel-example-gae/src/main/webapp/index.html

Added: 
camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportData.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportData.java?rev=900800&view=auto
==
--- 
camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportData.java
 (added)
+++ 
camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportData.java
 Tue Jan 19 14:37:11 2010
@@ -0,0 +1,85 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.example.gae;
+
+import java.io.Serializable;
+
+import org.w3c.dom.Document;
+
+import org.apache.camel.Exchange;
+import org.apache.camel.Expression;
+
+public class ReportData implements Serializable {
+
+private static final long serialVersionUID = -468314239950430108L;
+
+private String city;
+private String recipient;
+private String requestor;
+private Document weather;
+
+public ReportData(String city, String recipient, String requestor) {
+this.city = city;
+this.recipient = recipient;
+this.requestor = requestor;
+}
+
+public String getCity() {
+return city;
+}
+
+public String getRecipient() {
+return recipient;
+}
+
+public String getRequestor() {
+return requestor;
+}
+ 
+public Document getWeather() {
+return weather;
+}
+
+public void setWeather(Document weather) {
+this.weather = weather;
+}
+
+public static Expression city() {
+return new Expression() {
+public  T evaluate(Exchange exchange, Class type) {
+return 
type.cast(exchange.getIn().getBody(ReportData.class).getCity());
+}
+};
+}
+
+public static Expression recipient() {
+return new Expression() {
+public  T evaluate(Exchange exchange, Class type) {
+return 
type.cast(exchange.getIn().getBody(ReportData.class).getRecipient());
+}
+};
+}
+
+public static Expression requestor() {
+return new Expression() {
+public  T evaluate(Exchange exchange, Class type) {
+return 
type.cast(exchange.getIn().getBody(ReportData.class).getRequestor());
+}
+};
+}
+
+}

Added: 
camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportGenerator.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportGenerator.java?rev=900800&view=auto
==
--- 
camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/example/gae/ReportGenerator.java
 (added)
+++ 
camel/trunk/examples/camel-example-gae/src/main/java/org/apache/camel/exa

[CONF] Apache Camel > GAE

2010-01-19 Thread confluence







 GAE
 Page edited by Martin Krasser

 
  
 
 Camel Components for Google App Engine

TutorialA good starting point for using Camel on GAE is the Tutorial for Camel on Google App Engine

The Camel components for Google App Engine (GAE) are part of the camel-gae project and provide connectivity to GAE's cloud computing services. They make the GAE cloud computing environment accessible to applications via Camel interfaces. Following this pattern for other cloud computing environments could make it easier to port Camel applications from one cloud computing provider to another. The following table lists the cloud computing services provided by Google and the supporting Camel components. The documentation of each component can be found by following the link in the Camel Component column.



GAE service
Camel component
Component description


URL fetch service
ghttp
Provides connectivity to the GAE URL fetch service but can also be used to receive messages from servlets.


Task queueing service
gtask
Supports asynchronous message processing on GAE by using the task queueing service as message queue.


Mail service
gmail
Supports sending of emails via the GAE mail service. Receiving mails is not supported yet but will be added later.


Memcache service
 
Not supported yet.


XMPP service
 
Not supported yet.


Images service
 
Not supported yet.


Datastore service
 
Not supported yet.


Authentication service
gauth
Provides access to the Google authentication services (see also Security section)

	Allow Camel client applications to login to Google App Engine services
	Allow Camel GAE applications to login to other Google services (e.g. calendar)





Camel context

Setting up a SpringCamelContext on Google App Engine differs between Camel 2.1 and Camel 2.2. The problem is that usage of the Camel-specific Spring configuration XML schema from the http://camel.apache.org/schema/spring namespace requires JAXB and Camel 2.1 depends on a Google App Engine SDK version that doesn't support JAXB yet.


	Camel 2.1 depends on the Google App Engine SDK 1.2.6 which doesn't support JAXB. Refer to the Camel 2.1 subsection for instructions how to set up a SpringCamelContext with Camel 2.1 on GAE.
	Camel 2.2 depends on the Google App Engine SDK 1.2.8, the first version that introduces support for JAXB. Refer to the Camel 2.2 subsection for instructions how to set up a SpringCamelContext with Camel 2.2 on GAE.



With both versions, JMX must be disabled because the javax.management package isn't on the App Engine JRE whitelist.

Camel 2.1

camel-gae 2.1 comes with the following CamelContext implementations.


	org.apache.camel.component.gae.context.GaeDefaultCamelContext (extends org.apache.camel.impl.DefaultCamelContext)
	org.apache.camel.component.gae.context.GaeSpringCamelContext (extends org.apache.camel.spring.SpringCamelContext)



Both disable JMX before startup. The GaeSpringCamelContext additionally provides setter methods adding route builders as shown in the next example.

appctx.xml

"http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">

"camelContext" 
class="org.apache.camel.component.gae.context.GaeSpringCamelContext">
"routeBuilder" ref="myRouteBuilder" />


"myRouteBuilder"
class="org.example.MyRouteBuilder">




 

Alternatively, use the routeBuilders property of the GaeSpringCamelContext for setting a list of route builders. Using this approach, a SpringCamelContext can be configured on GAE without the need for JAXB.

Camel 2.2

With Camel 2.2, applications can use the http://camel.apache.org/schema/spring namespace for configuring a SpringCamelContext but still need to disable JMX. Here's an example.

appctx.xml

"http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:camel="http://camel.apache.org/schema/spring"
   xsi:schemaLocation="
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">

"camelContext">
"agent" disabled="true" />
"myRouteBuilder"/>


"myRouteBuilder"
class="org.example.MyRouteBuilder">




 


The web.xml

Running Camel on GAE requires usage of the CamelHttpTransportServlet from camel-servlet. The following example shows how to configure this servlet together with a Spring application context XML file. 

web.xml

"http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.

[CONF] Apache Camel > gsec

2010-01-19 Thread confluence







gsec
Page  added by Martin Krasser

 

 Security for Camel GAE Applications

Securing GAE applications from unauthorized access is described in the Security and Authentication section of the Google App Engine documentation. Authorization constraints are declared in the web.xml. This applies to Camel applications as well. In the following example, the application is configured to only allow authenticated users (in any role) to access the application. Additionally, access to /worker/* URLs may only be done by users in the admin role. By default, web hook URLs installed by the gtask component match the /worker/* pattern and should not be accessed by normal users. With this authorization constraint, only the task queuing service (which is always in the admin role) is allowed to access the web hooks. For implementing custom, non-declarative authorization logic, Camel GAE applications should use the Google Accounts Java API.

web.xml with authorization constraint

"http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">


CamelServlet
org.apache.camel.component.servlet.CamelHttpTransportServlet

contextConfigLocation
appctx.xml





CamelServlet
/camel/*




CamelServlet
/worker/*





/*


*






/worker/*


admin









   
Change Notification Preferences
   
   View Online
  |
   Add Comment
   








[CONF] Apache Camel > GAE

2010-01-19 Thread confluence







 GAE
 Page edited by Martin Krasser

 
  
 
 Camel Components for Google App Engine

TutorialA good starting point for using Camel on GAE is the Tutorial for Camel on Google App Engine

The Camel components for Google App Engine (GAE) are part of the camel-gae project and provide connectivity to GAE's cloud computing services. They make the GAE cloud computing environment accessible to applications via Camel interfaces. Following this pattern for other cloud computing environments could make it easier to port Camel applications from one cloud computing provider to another. The following table lists the cloud computing services provided by Google and the supporting Camel components. The documentation of each component can be found by following the link in the Camel Component column.



GAE service
Camel component
Component description


URL fetch service
ghttp
Provides connectivity to the GAE URL fetch service but can also be used to receive messages from servlets.


Task queueing service
gtask
Supports asynchronous message processing on GAE by using the task queueing service as message queue.


Mail service
gmail
Supports sending of emails via the GAE mail service. Receiving mails is not supported yet but will be added later.


Memcache service
 
Not supported yet.


XMPP service
 
Not supported yet.


Images service
 
Not supported yet.


Datastore service
 
Not supported yet.


Authentication service
gauth
Provides access to the Google authentication services 

	Allow Camel client applications to login to Google App Engine services
	Allow Camel GAE applications to login to other Google services (e.g. calendar)





Camel context

Setting up a SpringCamelContext on Google App Engine differs between Camel 2.1 and Camel 2.2. The problem is that usage of the Camel-specific Spring configuration XML schema from the http://camel.apache.org/schema/spring namespace requires JAXB and Camel 2.1 depends on a Google App Engine SDK version that doesn't support JAXB yet.


	Camel 2.1 depends on the Google App Engine SDK 1.2.6 which doesn't support JAXB. Refer to the Camel 2.1 subsection for instructions how to set up a SpringCamelContext with Camel 2.1 on GAE.
	Camel 2.2 depends on the Google App Engine SDK 1.2.8, the first version that introduces support for JAXB. Refer to the Camel 2.2 subsection for instructions how to set up a SpringCamelContext with Camel 2.2 on GAE.



With both versions, JMX must be disabled because the javax.management package isn't on the App Engine JRE whitelist.

Camel 2.1

camel-gae 2.1 comes with the following CamelContext implementations.


	org.apache.camel.component.gae.context.GaeDefaultCamelContext (extends org.apache.camel.impl.DefaultCamelContext)
	org.apache.camel.component.gae.context.GaeSpringCamelContext (extends org.apache.camel.spring.SpringCamelContext)



Both disable JMX before startup. The GaeSpringCamelContext additionally provides setter methods adding route builders as shown in the next example.

appctx.xml

"http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">

"camelContext" 
class="org.apache.camel.component.gae.context.GaeSpringCamelContext">
"routeBuilder" ref="myRouteBuilder" />


"myRouteBuilder"
class="org.example.MyRouteBuilder">




 

Alternatively, use the routeBuilders property of the GaeSpringCamelContext for setting a list of route builders. Using this approach, a SpringCamelContext can be configured on GAE without the need for JAXB.

Camel 2.2

With Camel 2.2, applications can use the http://camel.apache.org/schema/spring namespace for configuring a SpringCamelContext but still need to disable JMX. Here's an example.

appctx.xml

"http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:camel="http://camel.apache.org/schema/spring"
   xsi:schemaLocation="
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">

"camelContext">
"agent" disabled="true" />
"myRouteBuilder"/>


"myRouteBuilder"
class="org.example.MyRouteBuilder">




 


The web.xml

Running Camel on GAE requires usage of the CamelHttpTransportServlet from camel-servlet. The following example shows how to configure this servlet together with a Spring application context XML file. 

web.xml

"http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2

[CONF] Apache Camel > JAXB

2010-01-19 Thread confluence







 JAXB
 Page edited by Claus Ibsen

 
  
 
 JAXB

JAXB is a Data Format which uses the JAXB2 XML marshalling standard which is included in Java 6 to unmarshal an XML payload into Java objects or to marshal Java objects into an XML payload.

Using the Java DSL

For example the following uses a named DataFormat of jaxb which is configured with a number of Java package names to initialize the JAXBContext. 



DataFormat jaxb = new JaxbDataFormat("com.acme.model");

from("activemq:My.Queue").
  unmarshal(jaxb).
  to("mqseries:Another.Queue");



You can if you prefer use a named reference to a data format which can then be defined in your Registry such as via your Spring XML file. e.g. 



from("activemq:My.Queue").
  unmarshal("myJaxbDataType").
  to("mqseries:Another.Queue");




Using Spring XML

The following example shows how to use JAXB to unmarshal using Spring configuring the jaxb data type


"camel" xmlns="http://camel.apache.org/schema/spring">
  
"direct:start"/>

  "true" contextPath="org.apache.camel.example"/>

"mock:result"/>
  




This example shows how to configure the data type just once and reuse it on multiple routes. For Camel versions below 1.5.0 you have to set the  element directly in .


"camel" xmlns="http://camel.apache.org/schema/spring">
  
"myJaxb" prettyPrint="true" contextPath="org.apache.camel.example"/>
  

  
"direct:start"/>
"myJaxb"/>
"direct:marshalled"/>
  
  
"direct:marshalled"/>
"myJaxb"/>
"mock:result"/>
  





Multiple context pathsIt is possible to use this data format with more than one context path. You can specify context path using : as separator, for example com.mycompany:com.mycompany2. Note that this is handled by JAXB implementation and might change if you use different vendor than RI.

Ignoring the NonXML Character
This feature is new to Camel 2.2.0.
JaxbDataFromat supports to ignore the NonXML Character, you just need to set the filterNonXmlChars property to be true, JaxbDataFromat will replace the NonXML character with " " when it is marshaling or unmarshaling the message. You can also do it by setting the Exchange property Exchange.FILTER_NON_XML_CHARS.



 
 JDK 1.5 
 JDK 1.6+ 


 Filtering in use 
 StAX API and implementation 
 No 


 Filtering not in use 
 StAX API only 
 No 



This feature has been tested with Woodstox 3.2.9 and Sun JDK 1.6 StAX implementation.

Working with the ObjectFactory

If you use XJC to create the java class from the schema, you will get an ObjectFactory for you JAXB context. Since the ObjectFactory uses JAXBElement to hold the reference of the schema and element instance value, from Camel 1.5.1 jaxbDataformat will ignore the JAXBElement by default and you will get the element instance value instead of the JAXBElement object form the unmarshaled message body. 
If you want to get the JAXBElement object form the unmarshaled message body, you need to set the JaxbDataFormat object's ignoreJAXBElement property to be false.


Setting encoding
In Camel 1.6.1 and newer you can set the encoding option to use when marshalling. Its the Marshaller.JAXB_ENCODING encoding property on the JAXB Marshaller.
You can setup which encoding to use when you declare the JAXB data format. You can also provide the encoding in the Exchange property Exchange.CHARSET_NAME. This property will overrule the encoding set on the JAXB data format.

In this Spring DSL we have defined to use iso-8859-1 as the encoding:

"camel" xmlns="http://camel.apache.org/schema/spring">

"direct:start"/>

"false" encoding="iso-8859-1" contextPath="org.apache.camel.example"/>

"mock:result"/>






Dependencies

To use JAXB in your camel routes you need to add the a dependency on camel-jaxb which implements this data format. 

If you use maven you could just add the following to your pom.xml, substituting the version number for the latest & greatest release (see the download page for the latest versions).




  org.apache.camel
  camel-jaxb
  1.6.0




 
 
   
Change Notification Preferences
   

   View Online
   |
   View Change
  |
   Add Comment









svn commit: r900741 - /camel/trunk/camel-core/pom.xml

2010-01-19 Thread ningjiang
Author: ningjiang
Date: Tue Jan 19 11:51:54 2010
New Revision: 900741

URL: http://svn.apache.org/viewvc?rev=900741&view=rev
Log:
Comment out the maven 2.2.x active profile which will cause error of starting 
the camel application with MOP

Modified:
camel/trunk/camel-core/pom.xml

Modified: camel/trunk/camel-core/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/camel-core/pom.xml?rev=900741&r1=900740&r2=900741&view=diff
==
--- camel/trunk/camel-core/pom.xml (original)
+++ camel/trunk/camel-core/pom.xml Tue Jan 19 11:51:54 2010
@@ -230,10 +230,9 @@
 
 
   
-
+
 [1.5,)
   
   
@@ -246,7 +245,7 @@
   jaxb-impl
 
   
-
+
 
   jdk1.5-maven-2.0.x
   




svn commit: r900722 - in /camel/trunk: parent/pom.xml platforms/karaf/features/pom.xml

2010-01-19 Thread davsclaus
Author: davsclaus
Date: Tue Jan 19 10:47:17 2010
New Revision: 900722

URL: http://svn.apache.org/viewvc?rev=900722&view=rev
Log:
CAMEL-2380: Upgraded to Jettison 1.2

Modified:
camel/trunk/parent/pom.xml
camel/trunk/platforms/karaf/features/pom.xml

Modified: camel/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=900722&r1=900721&r2=900722&view=diff
==
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Tue Jan 19 10:47:17 2010
@@ -82,6 +82,7 @@
 3.2.1.ga
 1.6.2
 1.8.0.7
+1.2
 1.7.0
 2.0
 
@@ -1047,7 +1048,7 @@
   
 org.codehaus.jettison
 jettison
-1.1
+${jettison-version}
   
 
   

Modified: camel/trunk/platforms/karaf/features/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/pom.xml?rev=900722&r1=900721&r2=900722&view=diff
==
--- camel/trunk/platforms/karaf/features/pom.xml (original)
+++ camel/trunk/platforms/karaf/features/pom.xml Tue Jan 19 10:47:17 2010
@@ -72,7 +72,7 @@
   20050913_1
   1.0_2
   1.1_2
-  1.1
+  1.2
   6.1.19_2
   6.1.11_3
   20030619_1




svn commit: r900705 - in /camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae: mail/GMailBinding.java task/GTaskBinding.java

2010-01-19 Thread krasserm
Author: krasserm
Date: Tue Jan 19 09:05:40 2010
New Revision: 900705

URL: http://svn.apache.org/viewvc?rev=900705&view=rev
Log:
Change header names from dot-notation to camel-case-notation to follow Camel 
header name conventions.

Modified:

camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/mail/GMailBinding.java

camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/task/GTaskBinding.java

Modified: 
camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/mail/GMailBinding.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/mail/GMailBinding.java?rev=900705&r1=900704&r2=900705&view=diff
==
--- 
camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/mail/GMailBinding.java
 (original)
+++ 
camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/mail/GMailBinding.java
 Tue Jan 19 09:05:40 2010
@@ -29,30 +29,30 @@
 /**
  * Camel header for setting the mail message sender.
  */
-public static final String GMAIL_SENDER = 
"org.apache.camel.component.gae.mail.Sender";
+public static final String GMAIL_SENDER = "CamelGmailSender";
 
 /**
  * Camel header for setting the mail message subject.
  */
-public static final String GMAIL_SUBJECT = 
"org.apache.camel.component.gae.mail.Subject";
+public static final String GMAIL_SUBJECT = "CamelGmailSubject";
 
 /**
  * Camel header for setting the mail message to-recipient (single recipient
  * or comma-separated list).
  */
-public static final String GMAIL_TO = 
"org.apache.camel.component.gae.mail.To";
+public static final String GMAIL_TO = "CamelGmailTo";
 
 /**
  * Camel header for setting the mail message cc-recipient (single recipient
  * or comma-separated list).
  */
-public static final String GMAIL_CC = 
"org.apache.camel.component.gae.mail.Cc";
+public static final String GMAIL_CC = "CamelGmailCc";
 
 /**
  * Camel header for setting the mail message bcc-recipient (single 
recipient
  * or comma-separated list).
  */
-public static final String GMAIL_BCC = 
"org.apache.camel.component.gae.mail.Bcc";
+public static final String GMAIL_BCC = "CamelGmailBcc";
 
 /**
  * Reads data from exchange and writes it to a newly created

Modified: 
camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/task/GTaskBinding.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/task/GTaskBinding.java?rev=900705&r1=900704&r2=900705&view=diff
==
--- 
camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/task/GTaskBinding.java
 (original)
+++ 
camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/task/GTaskBinding.java
 Tue Jan 19 09:05:40 2010
@@ -42,19 +42,19 @@
  * Camel header name corresponding to X-AppEngine-QueueName
  * header created by task queueing service.
  */
-public static final String GTASK_QUEUE_NAME = 
"org.apache.camel.component.gae.task.QueueName";
+public static final String GTASK_QUEUE_NAME = "CamelGtaskQueueName";
 
 /**
  * Camel header name corresponding to X-AppEngine-TaskName
  * header created by task queueing service.
  */
-public static final String GTASK_TASK_NAME = 
"org.apache.camel.component.gae.task.TaskName";
+public static final String GTASK_TASK_NAME = "CamelGtaskTaskName";
 
 /**
  * Camel header name corresponding to 
X-AppEngine-TaskRetryCount
  * header created by task queueing service.
  */
-public static final String GTASK_RETRY_COUNT = 
"org.apache.camel.component.gae.task.RetryCount";
+public static final String GTASK_RETRY_COUNT = "CamelGtaskRetryCount";
 
 static final String GAE_QUEUE_NAME = "X-AppEngine-QueueName";
 static final String GAE_TASK_NAME = "X-AppEngine-TaskName";