You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by ke...@yahoo.fr on 2007/03/14 11:40:29 UTC

RE : servicemix.properties

Hello, 

Spring framework reads this file to provide all
properties into servicemix.xml file 
please see @servicemix.xml: 
 <bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
      <property name="location"
value="classpath:servicemix.properties" />
  </bean>

You can use all properties from servicemix.properties
in your servicemix.xml file. For example
${activemq.url} property.

i hope it is could help you.

Cordialement,


--- Thomas TERMIN <tt...@blue-elephant-systems.com> a
écrit :

> Which class is reading the servicemix.properties
> file? If you have some
> spaces after a property the jmx.url is then also
> with spaces and that
> doesn't work.
> 
> 



	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Re: RE : servicemix.properties

Posted by Thomas TERMIN <tt...@blue-elephant-systems.com>.
Guillaume Nodet wrote:
> This property is used to configure the
>  org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean
> so I gess this class could be improved to trim the url before
> using it.
> Thomas, you can fix it, once your account is activated.
Ok. That's what I mean. ;-)

> 
> On 3/14/07, keogaa-ddo@yahoo.fr <ke...@yahoo.fr> wrote:
>>
>>
>> Hello,
>>
>> Spring framework reads this file to provide all
>> properties into servicemix.xml file
>> please see @servicemix.xml:
>> <bean id="propertyConfigurer"
>> class="
>> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>>       <property name="location"
>> value="classpath:servicemix.properties" />
>>   </bean>
>>
>> You can use all properties from servicemix.properties
>> in your servicemix.xml file. For example
>> ${activemq.url} property.
>>
>> i hope it is could help you.
>>
>> Cordialement,
>>
>>
>> --- Thomas TERMIN <tt...@blue-elephant-systems.com> a
>> écrit :
>>
>> > Which class is reading the servicemix.properties
>> > file? If you have some
>> > spaces after a property the jmx.url is then also
>> > with spaces and that
>> > doesn't work.
>> >
>> >
>>
>>
>>
>>
>>
>>
>>
>>
>> ___________________________________________________________________________
>>
>> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
>> questions
>> !
>> Profitez des connaissances, des opinions et des expériences des
>> internautes sur Yahoo! Questions/Réponses
>> http://fr.answers.yahoo.com
>>
> 
> 
> 


-- 
Thomas Termin
_______________________________
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel    :  (+49) 0711 - 45 10 17 676
Fax    :  (+49) 0711 - 45 10 17 573
WWW    :  http://www.blue-elephant-systems.com
Email  :  Thomas.Termin@blue-elephant-systems.com

blue elephant systems GmbH
Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle


Re: RE : servicemix.properties

Posted by Guillaume Nodet <gn...@gmail.com>.
This property is used to configure the
  org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean
so I gess this class could be improved to trim the url before
using it.
Thomas, you can fix it, once your account is activated.

On 3/14/07, keogaa-ddo@yahoo.fr <ke...@yahoo.fr> wrote:
>
>
> Hello,
>
> Spring framework reads this file to provide all
> properties into servicemix.xml file
> please see @servicemix.xml:
> <bean id="propertyConfigurer"
> class="
> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>       <property name="location"
> value="classpath:servicemix.properties" />
>   </bean>
>
> You can use all properties from servicemix.properties
> in your servicemix.xml file. For example
> ${activemq.url} property.
>
> i hope it is could help you.
>
> Cordialement,
>
>
> --- Thomas TERMIN <tt...@blue-elephant-systems.com> a
> écrit :
>
> > Which class is reading the servicemix.properties
> > file? If you have some
> > spaces after a property the jmx.url is then also
> > with spaces and that
> > doesn't work.
> >
> >
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
> !
> Profitez des connaissances, des opinions et des expériences des
> internautes sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com
>



-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/