Re: Invalid property 'destinations' of bean class

2006-09-25 Thread James Strachan

On 9/25/06, Tommy615 <[EMAIL PROTECTED]> wrote:


I attached a image showing the error.


It doesn't really help much.  Could you provide the full XML file you
are using along with the full stack trace? e.g. try piping the output
to a file.

--

James
---
http://radio.weblogs.com/0112098/


Re: Invalid property 'destinations' of bean class

2006-09-25 Thread Tommy615

I attached a image showing the error.

Thanks

James.Strachan wrote:
> 
> On 9/25/06, Tommy615 <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for your reply. I had tried it at 4.1 as well and the result was
>> same.
>> Any idea?
> 
> It certainly works in our test case on 4.1.
> 
> http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/destinations-on-start.xml
> 
> could you post the stack trace when you try use this file?
> 
> 
> -- 
> 
> James
> ---
> http://radio.weblogs.com/0112098/
> 
> 
http://www.nabble.com/file/126/error.JPG 
http://www.nabble.com/file/126/error.JPG 
-- 
View this message in context: 
http://www.nabble.com/Invalid-property-%27destinations%27-of-bean-class-tf2328853.html#a6481830
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



Re: Invalid property 'destinations' of bean class

2006-09-25 Thread James Strachan

On 9/25/06, Tommy615 <[EMAIL PROTECTED]> wrote:


Thanks for your reply. I had tried it at 4.1 as well and the result was same.
Any idea?


It certainly works in our test case on 4.1.

http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/destinations-on-start.xml

could you post the stack trace when you try use this file?


--

James
---
http://radio.weblogs.com/0112098/


Re: Invalid property 'destinations' of bean class

2006-09-25 Thread Tommy615

Thanks for your reply. I had tried it at 4.1 as well and the result was same.
Any idea?


James.Strachan wrote:
> 
>  only works in 4.1 I'm afraid, I suspect you're using 4.0.x
> 
> On 9/25/06, Tommy615 <[EMAIL PROTECTED]> wrote:
>>
>> After I putting the below xml code inside the  then error occured
>> saying that Invalid property 'destinations' of bean class
>> [org.apache.activemq.xbean.XBeanBrokerService]: Bean property
>> 'destinations'
>> is not writable or has an invalid setter method: Does the parameter type
>> of
>> the setter match the return type of the getter?
>>
>> 
>>   
>>   
>> 
>>
>> Is it the destination is not a proper parameter of it?
>> --
>> View this message in context:
>> http://www.nabble.com/Invalid-property-%27destinations%27-of-bean-class-tf2328853.html#a6479041
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> ---
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invalid-property-%27destinations%27-of-bean-class-tf2328853.html#a6481674
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



Re: Invalid property 'destinations' of bean class

2006-09-25 Thread James Strachan

 only works in 4.1 I'm afraid, I suspect you're using 4.0.x

On 9/25/06, Tommy615 <[EMAIL PROTECTED]> wrote:


After I putting the below xml code inside the  then error occured
saying that Invalid property 'destinations' of bean class
[org.apache.activemq.xbean.XBeanBrokerService]: Bean property 'destinations'
is not writable or has an invalid setter method: Does the parameter type of
the setter match the return type of the getter?


  
  


Is it the destination is not a proper parameter of it?
--
View this message in context: 
http://www.nabble.com/Invalid-property-%27destinations%27-of-bean-class-tf2328853.html#a6479041
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.





--

James
---
http://radio.weblogs.com/0112098/