Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
Exactly the tag ServiceMix-http-2008.01. Once done, modifications to the
pom:
<version> 2008.01 </ version> by
<version> 3.2.3 </ version>
and
<configuration>
  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
</ configuration>

This builds successfully, but when I create my service unit, tells me they
are different versions.

I misunderstood what you want to change.

Thanks 





Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> if you want to change the components' namespace 
> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the 
> component code and change the POM on the XBean plugin configuration.
> 
> For instance, to change the HTTP component namespace, you need:
> 1/ Check the HTTP source code:
> svn co 
> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk
>  
> servicemix-http
> 
> 2/ change the pom around the xbean plugin to set your namespace:
>        <plugin>
>          <groupId>org.apache.xbean</groupId>
>          <artifactId>maven-xbean-plugin</artifactId>
>          <executions>
>            <execution>
>              <goals>
>                <goal>mapping</goal>
>              </goals>
>              <configuration>
>  
> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>              </configuration>
>            </execution>
>          </executions>
>        </plugin>
> 
> 3/ rebuild the component:
> mvn clean install
> 
> 4/ deploy your component by copying the installer zip file in the deploy 
> or hotdeploy directory.
> 
> Regards
> JB
> 
> jpepalmero wrote:
>> Hello everyone. I build my own based ESB ServiceMix and my space no
>> names. I
>> want to run in files of the service units xbeans my
>> http://servicemix.mycompany.org/http/1.0.
>> What we tried several ways but did not work. I have also tried to install
>> ServiceMix from svn, and neither achievement. :rules:
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to