activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shamli <sham...@aztecsoft.com>
Subject Re: ActiveMQ4x with spring 1.2
Date Fri, 29 Sep 2006 08:03:13 GMT

If i use this property in my applicationContext xml:
<property
name="brokerUrl"><value>vm://localhost?brokerConfig=xbean:activemq.xml</value></property>

then it should configure the broker as per my settings. Bur it seems it does
not do so. Am i missing something?



James.Strachan wrote:
> 
> It only uses a configuration file if you explictily configure it.
> 
> On 9/27/06, Shamli <shamlib@aztecsoft.com> wrote:
>>
>> I have one more doubt... if i do not specify embedded broker explicitly,
>> then
>> 4.x takes care of that. And i have activemq.xml in my WEB-INF/classes
>> folder. So which configuration file would it take automatically?
>>
>>
>> James.Strachan wrote:
>> >
>> > On 9/26/06, Shamli <shamlib@aztecsoft.com> wrote:
>> >>
>> >> I couldn't find xbean-spring from the place you spcified but got
>> >> xbean-spring2.2. And i'm using Spring 1.2 in my app.
>> >> Tried with the above settings, but got exceptions. What all should i
>> >> include
>> >> in the classpath?
>> >
>> > Download 4.0.1 or 4.0.2 and take the xbean-spring*.jar and spring*.jar
>> > from the lib/optional directory and use the activemq jar from the root
>> > directory and it should all work.
>> >
>> > You can test this combination works by running the broker in the
>> > binary distro by typing 'activemq' in the bin directory.
>> >
>> > --
>> >
>> > James
>> > -------
>> > http://radio.weblogs.com/0112098/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ActiveMQ4x-with-spring-1.2-tf2337039.html#a6520942
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQ4x-with-spring-1.2-tf2337039.html#a6560873
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message