Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-15199: RestDefinition relies on Class.getCanonicalName instead of Class.getName for in/out types

    • -15
    • +38
    ./JaxbRestBindingJaxbDataFormatFactory.java
  1. … 15 more files in changeset.
CAMEL-14820: rest-dsl - Configuring JSon and JAXB additional properties uses reflection. Now they use configurer

    • -25
    • +29
    ./JaxbRestBindingJaxbDataFormatFactory.java
  1. … 12 more files in changeset.
CAMEL-14819: rest-dsl - XML binding mode should have JAXB initialization done in camel-jaxb

    • -0
    • +104
    ./JaxbRestBindingJaxbDataFormatFactory.java
  1. … 9 more files in changeset.
Camel-Jaxb: Fixed CS

CAMEL-14421: optimize core - ServiceSupport should not have instance logger. Use static logger instead.

  1. … 350 more files in changeset.
[CAMEL-14411] delegate conversion during dataformat reification to the camel context converter

  1. … 65 more files in changeset.
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

  1. … 2772 more files in changeset.
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

  1. … 2764 more files in changeset.
tiny cleanups: - remove unused import statements - make use of type inference for generic instance creation - remove obsolete 'public', 'static' and 'final' modifiers in interfaces - change field/method accesses to it's owning supertype - remove obsolete type castings - remove obsolete semicolons

  1. … 346 more files in changeset.
CAMEL-13895: camel3 - TypeConverter(loader = true) rename to generateLoader

  1. … 103 more files in changeset.
CAMEL-13822: Add Override annotations

  1. … 3627 more files in changeset.
[CAMEL-12975]WARN: No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.jaxb.FallbackTypeConverter

(cherry picked from commit 4a5da86e7dab27e0ffc152744f340d69b6252cf1)

[CAMEL-12975]WARN: No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.jaxb.FallbackTypeConverter

(cherry picked from commit 4a5da86e7dab27e0ffc152744f340d69b6252cf1)

(cherry picked from commit ecdae37b68f727343861cd2f4b13b4d31577e3d5)

[CAMEL-12975]WARN: No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.jaxb.FallbackTypeConverter

[CAMEL-12975]WARN: No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.jaxb.FallbackTypeConverter

(cherry picked from commit 4a5da86e7dab27e0ffc152744f340d69b6252cf1)

(cherry picked from commit ecdae37b68f727343861cd2f4b13b4d31577e3d5)

(cherry picked from commit c33e94fe9562fd0c80c53f436dfe73e3813eb908)

CAMEL-13417: Move mock component out of camel-core (#2870)

CAMEL-13147: Move mock component out of camel-core.

CAMEL-13421: Remove BeanInvocation from camel-bean.

CAMEL-13422: Remove camel-rmi component.

and also removed a few other deprecated and unused stuff.

  1. … 221 more files in changeset.
CAMEL-13313: Fixed potential NPE in jaxb fallback type converter

Fixed CS for Camel-Jaxb

  1. … 1 more file in changeset.
CAMEL-13336: update license headers

    • -1
    • +1
    ./mapper/SunJaxb21NamespacePrefixMapper.java
  1. … 17913 more files in changeset.
CAMEL-13313: Add support for generating type converter loader source code to be able to load component type converters in a faster way

CAMEL-13313: Add support for generating type converter loader source code to be able to load component type converters in a faster way

  1. … 6 more files in changeset.
Fix for CAMEL-13282

When a JAXB class that is created or generated has no @XmlRootElement

annotation JaxbDataFormat would try to find a ObjectFactory method which

can create a JAXBElement for the type of the object. It would then use

the JAXBElement to marshal the object.

While trying to find the objectFactory and to call the appropriate

method it would catch ALL Exceptions that are thrown and just logs a

message.

While i don't see why an Exception should only be logged here this

breaks when the exception is thrown due to a validation error. Because

the calls to the marshal operation will throw an MarshalException in

that case which would be caught by the catch block. In other cases where

no object factory is used but JAXB classes with XmlRootElement

Annotations or JAXBElements are used the MarshalExceptions will be

thrown and the doMarshal method will be left.

So i basically check the type of the exception that is thrown and

rethrow it if it's a MarshalException. All other exceptions are handled

in the same way as before. I kept the old exception handling in order to

keep the code as much backwards compatible as possible. But it should be

removed for 3.0.0 at the latest

  1. … 7 more files in changeset.
Fix for CAMEL-13282

When a JAXB class that is created or generated has no @XmlRootElement

annotation JaxbDataFormat would try to find a ObjectFactory method which

can create a JAXBElement for the type of the object. It would then use

the JAXBElement to marshal the object.

While trying to find the objectFactory and to call the appropriate

method it would catch ALL Exceptions that are thrown and just logs a

message.

While i don't see why an Exception should only be logged here this

breaks when the exception is thrown due to a validation error. Because

the calls to the marshal operation will throw an MarshalException in

that case which would be caught by the catch block. In other cases where

no object factory is used but JAXB classes with XmlRootElement

Annotations or JAXBElements are used the MarshalExceptions will be

thrown and the doMarshal method will be left.

So i basically check the type of the exception that is thrown and

rethrow it if it's a MarshalException. All other exceptions are handled

in the same way as before. I kept the old exception handling in order to

keep the code as much backwards compatible as possible. But it should be

removed for 3.0.0 at the latest

  1. … 7 more files in changeset.
Fixed CS for Camel-Jaxb

Move service helper classes into a separate package to avoid split packages for OSGi

  1. … 349 more files in changeset.
Leverage @Component, @Dataformat and @Language annotations

  1. … 752 more files in changeset.
Move stuff around to isolate o.a.c.util from o.a.c and o.a.c.support from o.a.c.impl

# Conflicts:

# camel-core/src/main/java/org/apache/camel/impl/InterceptSendToEndpointProcessor.java

  1. … 2743 more files in changeset.
[CAMEL-10469] Remove @version in java source code

  1. … 3761 more files in changeset.
Add a protected logger on ServiceSupport and use it instead of a static one

# Conflicts:

# camel-core/src/main/java/org/apache/camel/processor/Resequencer.java

  1. … 346 more files in changeset.
[CAMEL-12818] Remove deprecated stuff

  1. … 1273 more files in changeset.