You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/09/21 10:44:40 UTC

[jira] Commented: (CAMEL-3140) Document required usage of JavaUUIDGenerator when running Camel on GAE

    [ https://issues.apache.org/activemq/browse/CAMEL-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61953#action_61953 ] 

Claus Ibsen commented on CAMEL-3140:
------------------------------------

In the camel-gae component I will set the UUID to be the JavaUUIDGenerator explicitly.
{code}
     @Override
     protected void doStart() throws Exception {
-        disableJMX(); // JMX not allowed on GAE
+        // JMX not allowed on GAE
+        disableJMX();
+        // use java uuid generator as ActiveMQ uses JDK API which is not allowed on GAE
+        setUuidGenerator(new JavaUuidGenerator());
+
         super.doStart();
     }
{code}

> Document required usage of JavaUUIDGenerator when running Camel on GAE
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-3140
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3140
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-gae
>    Affects Versions: 2.4.0
>            Reporter: Martin Krasser
>            Assignee: Martin Krasser
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> JavaUUIDGenerator won't be the default one in Camel 2.5 and Camel GAE apps will need to configure the JavaUUIDGenerator explicitly. The former ActiveMQUUIDGenerator uses APIs that are not on the GAE JDK whitelist.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.