Not being an amq wiz either,
I stumbled across the "*" occurring stray in the attribute list of the 
<amp:broker> element.
This definitely will confuse the XML parser (but should actually give some 
different error message).
Is this some valid (pseudo) XML to be used with amq or just some typos while 
composing the message?

Rainer

Mick Knutson schrieb:
> I tried this:
> 
>     <amq:broker useJmx="false"
>                 persistent="false"*
>                 dataDirectory="target/activemq-data/"*>
>         <amq:transportConnectors>
>             <amq:transportConnector uri="tcp://localhost:0"/>
>         </amq:transportConnectors>
>     </amq:broker>
> 
> But it gives me a SAX parser error about needing the same ending tag.
> 
> Any other ideas?
> 
> 
> 
> On Wed, Apr 16, 2008 at 9:43 AM, Doug Douglass <[EMAIL PROTECTED]>
> wrote:
> 
>> Mick,
>>
>> I presume you sent this to the maven list because you're running amq
>> within
>> a unit or integration test? Hmm, might be a better question for the amq
>> users list, but I'll try...
>>
>> How are you configuring the startup of amq? If you're using XBean XML
>> configuration, there is a "dataDirectory" attribute on the broker
>> element[1]. This is equivalent to calling
>> BrokerService.setDataDirectory(),
>> if you're instantiating amq directly.
>>
>> The unit tests I've done use camel directly configured within a Spring
>> application context using vm transport with mock and test components[2].
>>
>> I'm no amq wiz, so YMMV.
>>
>> HTH,
>> Doug
>>
>> [1] http://activemq.apache.org/version-5-xml-configuration.html
>> [2] http://activemq.apache.org/camel/test.html
>>
>>
>> On Wed, Apr 16, 2008 at 9:47 AM, Mick Knutson <[EMAIL PROTECTED]>
>> wrote:
>>
>>> I am running ActiveMQ and I keep getting ${basedir}/activemq-data when
>>> what
>>> I want is ${basedire}/target/activemq-data
>>>
>>> Where would I set this?
>>>
>>> --
>>> Thanks,
>>> Mick Knutson
>>>
>>> http://www.baselogic.com
>>> http://www.blincmagazine.com
>>> http://www.linkedin.com/in/mickknutson
>>> http://www.djmick.com
>>> http://www.myspace.com/mickknutson
>>> http://www.myspace.com/BLiNCMagazine
>>> http://tahoe.baselogic.com
>>> ---
>>>
> 
> 
> 

-- 
Rainer Pruy
Geschäftsführer

Acrys Consult GmbH & Co. KG
Untermainkai 29-30, D-60329 Frankfurt
Tel: +49-69-244506-0 - Fax: +49-69-244506-50
Web: http://www.acrys.com -  Email: [EMAIL PROTECTED]
Handelsregister: Frankfurt am Main, HRA 31151

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to