Add gzip dataformat as OSGI service
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e5067f2d Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e5067f2d Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e5067f2d Branch: refs/heads/camel-2.15.x Commit: e5067f2ded8bbaa88a78bc53aa4a617f3f8b9805 Parents: 8c0b089 Author: Tobias Heide <tobias.he...@vector.com> Authored: Mon Jun 22 15:20:21 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Thu Jun 25 10:01:09 2015 +0200 ---------------------------------------------------------------------- camel-core/pom.xml | 1 + .../services/org/apache/camel/dataformat/gzip | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/e5067f2d/camel-core/pom.xml ---------------------------------------------------------------------- diff --git a/camel-core/pom.xml b/camel-core/pom.xml index 31ea494..02ea2d0 100644 --- a/camel-core/pom.xml +++ b/camel-core/pom.xml @@ -77,6 +77,7 @@ org.apache.camel.spi.ComponentResolver;component=validator, org.apache.camel.spi.ComponentResolver;component=vm, org.apache.camel.spi.ComponentResolver;component=xslt, + org.apache.camel.spi.DataFormatResolver;dataformat=gzip, org.apache.camel.spi.DataFormatResolver;dataformat=serialization, org.apache.camel.spi.DataFormatResolver;dataformat=string, org.apache.camel.spi.DataFormatResolver;dataformat=zip, http://git-wip-us.apache.org/repos/asf/camel/blob/e5067f2d/camel-core/src/main/resources/META-INF/services/org/apache/camel/dataformat/gzip ---------------------------------------------------------------------- diff --git a/camel-core/src/main/resources/META-INF/services/org/apache/camel/dataformat/gzip b/camel-core/src/main/resources/META-INF/services/org/apache/camel/dataformat/gzip new file mode 100644 index 0000000..08cefe5 --- /dev/null +++ b/camel-core/src/main/resources/META-INF/services/org/apache/camel/dataformat/gzip @@ -0,0 +1,18 @@ +# +# 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. +# + +class=org.apache.camel.impl.GzipDataFormat