Author: jstrachan
Date: Tue Jul 8 07:15:35 2008
New Revision: 674837
URL: http://svn.apache.org/viewvc?rev=674837&view=rev
Log:
added initial spike of using Protocol Buffer as the wire format for
https://issues.apache.org/activemq/browse/AMQ-1843
Added:
activemq/trunk/activemq-protocol-buffer/
activemq/trunk/activemq-protocol-buffer/generate (with props)
activemq/trunk/activemq-protocol-buffer/pom.xml (with props)
activemq/trunk/activemq-protocol-buffer/src/
activemq/trunk/activemq-protocol-buffer/src/main/
activemq/trunk/activemq-protocol-buffer/src/main/java/
activemq/trunk/activemq-protocol-buffer/src/main/java/org/
activemq/trunk/activemq-protocol-buffer/src/main/java/org/apache/
activemq/trunk/activemq-protocol-buffer/src/main/java/org/apache/activemq/
activemq/trunk/activemq-protocol-buffer/src/main/java/org/apache/activemq/protocolbuffer/
activemq/trunk/activemq-protocol-buffer/src/main/java/org/apache/activemq/protocolbuffer/OpenWire.java
(with props)
activemq/trunk/activemq-protocol-buffer/src/main/proto/
activemq/trunk/activemq-protocol-buffer/src/main/proto/openwire.proto
activemq/trunk/activemq-protocol-buffer/src/main/resources/
activemq/trunk/activemq-protocol-buffer/src/test/
activemq/trunk/activemq-protocol-buffer/src/test/java/
activemq/trunk/activemq-protocol-buffer/src/test/java/org/
activemq/trunk/activemq-protocol-buffer/src/test/java/org/apache/
activemq/trunk/activemq-protocol-buffer/src/test/java/org/apache/activemq/
activemq/trunk/activemq-protocol-buffer/src/test/java/org/apache/activemq/protocolbuffer/
activemq/trunk/activemq-protocol-buffer/src/test/java/org/apache/activemq/protocolbuffer/PerformanceTest.java
(with props)
activemq/trunk/activemq-protocol-buffer/src/test/resources/
Added: activemq/trunk/activemq-protocol-buffer/generate
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-protocol-buffer/generate?rev=674837&view=auto
==============================================================================
--- activemq/trunk/activemq-protocol-buffer/generate (added)
+++ activemq/trunk/activemq-protocol-buffer/generate Tue Jul 8 07:15:35 2008
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+mkdir -p target/generated-source
+protoc -I=src/main/proto --java_out=src/main/java src/main/proto/openwire.proto
\ No newline at end of file
Propchange: activemq/trunk/activemq-protocol-buffer/generate
------------------------------------------------------------------------------
svn:executable = *
Added: activemq/trunk/activemq-protocol-buffer/pom.xml
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-protocol-buffer/pom.xml?rev=674837&view=auto
==============================================================================
--- activemq/trunk/activemq-protocol-buffer/pom.xml (added)
+++ activemq/trunk/activemq-protocol-buffer/pom.xml Tue Jul 8 07:15:35 2008
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-parent</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>activemq-protocol-buffer</artifactId>
+ <packaging>bundle</packaging>
+ <name>ActiveMQ :: Protocol Buffer</name>
+ <description>ActiveMQ Protocol Buffer</description>
+
+ <properties>
+ <activemq.osgi.import.pkg>
+ org.apache.activemq*;resolution:=optional,
+ *
+ </activemq.osgi.import.pkg>
+ <activemq.osgi.export>
+ org.apache.activemq.protocolbuffer*;version=${project.version},
+ </activemq.osgi.export>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java</artifactId>
+ <version>2.0.0beta</version>
+ </dependency>
+
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+
+ <plugins>
+ <!-- Configure which tests are included/excuded -->
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>pertest</forkMode>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
Propchange: activemq/trunk/activemq-protocol-buffer/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native