[
https://issues.apache.org/jira/browse/CAMEL-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245050#comment-13245050
]
Frank Kootte commented on CAMEL-3776:
-------------------------------------
I did an update on TRUNK and tried to run the unit tests on camel-jaxb which
failed. Looking into it.
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.camel.converter.jaxb.FilteringXmlStreamWriterTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.333 sec
Running org.apache.camel.converter.jaxb.JaxbConverterTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.692 sec
Running org.apache.camel.converter.jaxb.JaxbDataFormatTest
Tests run: 8, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.497 sec <<<
FAILURE!
Running org.apache.camel.converter.jaxb.MessageTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.624 sec
Running org.apache.camel.converter.jaxb.NonXmlCharFiltererTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.354 sec
Running org.apache.camel.converter.jaxb.NonXmlFilterReaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 sec
Running org.apache.camel.example.DataFormatConcurrentTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.689 sec
Running org.apache.camel.example.DataFormatDataSetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.838 sec
Running org.apache.camel.example.DataFormatTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.997 sec
Running org.apache.camel.example.JAXBConvertTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.632 sec
Running org.apache.camel.example.JAXBConverterMessageTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.619 sec
Running org.apache.camel.example.JaxbConcurrentDataFormatTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.926 sec
Running org.apache.camel.example.JaxbErrorLogTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.83 sec
Running org.apache.camel.example.RouteWithErrorHandlerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.172 sec
Running org.apache.camel.example.SpringDataFormatPartialTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.457 sec
Running org.apache.camel.example.SpringDataFormatTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.804 sec
Running org.apache.camel.example.SpringDataFormatWithEncodingTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.461 sec
Running
org.apache.camel.example.SpringDataFormatWithMarshalAndUnmarshalUsingRefTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.856 sec
Running
org.apache.camel.example.SpringDataFormatWithMarshalAndUnmarshalUsingSpringBeanTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.888 sec
Running org.apache.camel.example.UnmarshalTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.84 sec
Running org.apache.camel.jaxb.CamelJaxbFallbackConverterTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.801 sec
Running org.apache.camel.jaxb.CamelJaxbSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.042 sec
Running org.apache.camel.jaxb.CamelJaxbTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.344 sec
Running org.apache.camel.jaxb.DirectBeanToBeanPersonTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.623 sec
Running org.apache.camel.jaxb.DumpToXmlTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.621 sec
Running org.apache.camel.jaxb.FallbackTypeConverterShouldNotThrowExceptionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.099 sec
Running org.apache.camel.jaxb.JaxbDataFormatIssueTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.877 sec
Running org.apache.camel.jaxb.JaxbDataFormatIssueUsingSpringJavaConfigTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.477 sec
Running org.apache.camel.jaxb.TimerBeanToBeanNotificationTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.124 sec
Results :
Tests in error:
Tests run: 79, Failures: 0, Errors: 2, Skipped: 0
{code}
> Add pooling support for JAXB data format
> ----------------------------------------
>
> Key: CAMEL-3776
> URL: https://issues.apache.org/jira/browse/CAMEL-3776
> Project: Camel
> Issue Type: New Feature
> Components: camel-jaxb
> Reporter: Claus Ibsen
> Fix For: 3.0.0
>
> Attachments: jaxb-pool.patch
>
>
> We should use the ServicePool in camel-core to pool JAXB / marshaller /
> unmarshaller.
> Of course ppl should be able to customize pool settings and if to be used.
> Also mind that for type converters with JAXB you do not configure a JAXB data
> format. And thus we should
> still be able to configure and use pooling, so the type converter can be more
> efficient.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira