camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CAMEL-4701) Simplifications to camel-example-cxf
Date Wed, 23 Nov 2011 12:49:39 GMT

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

Glen Mazza edited comment on CAMEL-4701 at 11/23/11 12:47 PM:
--------------------------------------------------------------

But those three files are only used during JUnit testing, not deployment (the configuration
is done within the Java code for the latter).  They're not being removed but moved to test/main/resources/META-INF.
 Resources that are needed only during testing should only be in the latter folder, to save
the user the confusion of wondering of why they are in the src/ branch but unused.

                
      was (Author: gmazza):
    But those three files are only used during JUnit testing, not deployment (the configuration
is done within the Java code for the latter).  They're not being removed but moved to test/main/resources/META-INF.
 Resources that are needed only during testing should only be in the latter folder, to save
the user the confusion of wondering what they are there for.

                  
> Simplifications to camel-example-cxf
> ------------------------------------
>
>                 Key: CAMEL-4701
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4701
>             Project: Camel
>          Issue Type: Improvement
>          Components: examples
>    Affects Versions: 2.9.0
>            Reporter: Glen Mazza
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: camelExampleCXF.patch
>
>
> Patch makes following changes to the camel-example-cxf example:
> 1.) To reduce user confusion, src/main/resources/META-INF spring resources used only
during testing moved to test/main/resources instead.
> 2.) In JAXRS testing, switched the default auto-created book ID from 123 to 101 so it
doesn't conflict with the 123-id'ed book subsequently
>     created during testing.
> 3.) Moved the httptojms example from root CXF folder to its own folder (...example.cxf.httptojms)
as a sibling folder to the other three samples.
> 4.) To simplify, moved the JmsBroker class to the httptojms folder, as it is only that
sample using it.
> 5.) Reformatted the pom to 4-space no tab indentation.

--
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

        

Mime
View raw message