It would be interesting to know what platform you are on. To have a
cross-platform solution you may want to try using
PropertyPlaceholderConfigurer to set a property for your activemq home.
something like
Clark
http://www.ttmsolutions.com
thiago wrote:
>
> Hi,
>
>I
I can't say much not knowing your use cases but perhaps deploying a
multiple queue architecture might meet your requirements better then
relying on queue priority. see
http://activemq.apache.org/producer-flow-control.html on flow control.
The JMS spec does not require messages to be deliver
I think you are missing a reference to the security handling in your list of
handlers.
Should be something like:
http://bit.ly/AMQRefGuide
vbose wrote:
>
> I tried to follow the steps mentioned at the URL
> http://www.nighttale.net/activemq/securi
://old.nabble.com/file/p28894803/jetty.xml jetty.xml
http://old.nabble.com/file/p28894803/jetty-realm.properties
jetty-realm.properties
cobrien wrote:
>
> I think you are missing a reference to the security handling in your list
> of handlers.
>
>
> Should
start and stop active mq broker
> service.
>
> Vigil
>
>
>
> cobrien wrote:
>>
>> The attached files cause a browser authentication challenge on my
>> machine.
>> The jetty.xml is in apache-activemq-5.3.2 - NOT under conf
>> and jetty-re
You can look into using Camel
http://camel.apache.org/validation.html
Clark
www.ttmsolutions.com
ingorfano wrote:
>
> Hi folks
>
> i have integrated Siebel with ActiveMQ. The xml has to be validated with
> an xsd. Unfortunately Siebel is not able to do this validation internally.
> How can i
Clark
I am not quite clear on what you are trying to accomplish but spring does
allow one to break up bean definitions into multiple files: The link below
describes the syntax.
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-factory-xml-import
Richard,
What happens if you ping 'localhost'? If you don't get a response verify
that the line "127.0.0.1 localhost" is in your hosts file (etc/hosts).
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
RichardWang wrote:
>
> Hi,
>
> I use ActiveM
ActiveMQ 5.4.0 and above supports selectors with REST.
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
lokem wrote:
>
> Hi folks,
>
> I have 2 publishers submitting to a single queue. These 2 publishers also
> act as consumers for the responses from a
er, I suspect this is a ActiveMQ 5.3.2 issue.
>
> Thanks,
> Richard
>
>
> cobrien wrote:
>>
>> Richard,
>> What happens if you ping 'localhost'? If you don't get a response verify
>> that the line "127.0.0.1 localhost" is in
Radha
The element is used to set the maximum amount of memory the
broker will use.
The element is used to set the maximum size of the message store
used for non- persistent messages that overflow from memory awaiting
dispatch. This overflow typically occurs when producer flow control has been
d
Hi,
Can you describe a little more your Queue topology and configuration-
perhaps even share your config file(s). Not all queue topologies are order
preserving!
-clark
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
sonicBasher wrote:
>
> At the end of my c
Richard,
It appears that the java method getLocalHost on the java class
java.net.InetAddress , on which the transportConnector depends, can be
ambiguous on linux. Its behavior is also dependent on the version of java
you are using.
The issue and solutions discussed below:
http://bugs.sun.com/bu
/www.springframework.org/schema/beans/spring-beans.xsd";>
>
> http://camel.apache.org/schema/spring";>
>
>
>
>org.foo.bar
>
>
>
>
>
>
>
>
>
>
Ami,
Well the nice thing about ActiveMQ is almost everything is configurable.
>From your description I gather you have a requirement for high availability.
If this is the only reason for using multiple brokers then using a
master-slave
would be simplify things for you.
http://activemq.apach
Message message = session.createTextMessage(x.toXML(eo));
> producer.send(message);
> if (q == listOfMyObjects .size() - 1) {
> session.commit();
> }
> }
> }
>
>
>
> regards
>
>
>
>
>
Matthias,
If do not require guaranteed delivery to the broker you can set
jms.useAsyncSend=true so the producer
does not wait for an acknowledgement from the broker before sending the next
message.
The caveat here is that if message is lost between the producer and broker
you will not be notifi
Yelei
If DEFAULTWAITTIME expires then you will break out of your loop and not
receive any messages unless you restart.
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
savagre wrote:
>
> Hello guys,
>
> I've got a strange problem related to reading multipl
Q/activemq-parent-5.3.2/activemq-web-demo/target/activemq-web-demo-5.3.2.war
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: activemq-web-demo-5.3.2.war
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/Users/cobrien/ActiveMQ/activemq-pa
Matthias
You can also look into using transactions to batch send messages which may
improve performance. ActiveMQ has many tuning parameters so the more we know
about your particular configuration the more suggestions can be made.
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.
Happy coding
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
Tommy75 wrote:
>
> Thanks a million Clark,
> Will try this
>
> cobrien wrote:
>>
>> Tommy,
>> run 'mvn install' from the activemq-web-demo directo
Hi,
For debugging you have two options remote debugging and in proc debugging.
1) enable remote debugging. Search for ACTIVEMQ_DEBUG_OPTS in your activemq
start script and enable it. You may want to read up on remote debugging
here:
http://www.ibm.com/developerworks/library/os-ecbug/
2) For in
terval defined by the wait time. But the messages in the queue is
>>> really
>>> small, like 5 or 6 lines of text; and I already increased the wait time
>>> to
>>> 10 seconds (1). When the code works, it's able to read exactly the
>>> same
>>&
Dixit,
The simple answer to your Question is no. You can achieve both reliability
and secure messaging using OASIS standards alone. You should probably
encrypt and sign the message and use a certificate to identify the sender.
The following links provide good descriptions of the OASIS standards.
For Oracle, the master instance of ActiveMQ obtains a lock the database
using a "select for update" SQL statement.
It appears that when you pull the plug, the data store does not detect the
stale connection in a timely enough fashion for your requirements.
You can shorten the time needed to
179.html#a28222719
Is ActiveMQ not ready for production enterprise networks or is there a
better method of implementing H.A.?
cobrien wrote:
>
> For Oracle, the master instance of ActiveMQ obtains a lock the database
> using a "select for update" SQL statement.
> It a
denis,
if networkTTL="1", without a consumer consuming messages on BROKER1
messages will just accumulate. I would try after setting dynamicOnly=true
on the network connectors.
-Clark
PS
Which broker received the OOM error?
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
dbrondy wrote:
>
>
> Hi Cobrien, and thanks for you answer,
>
> In my understanding, I set networkTTL equal to 1 because we need only one
> hop to forward one produced message to a consumer,
Hi:
Set useDatabaseLock=true.
-Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
test4john wrote:
>
> Client code start producing msg OK, but if stop broker A in the middle of
> the loop (expect broker B will take over and continue to produce),
> excepti
milli(s) before trying
> again...
> 2010-07-13 10:52:16,375 [Thread-2 ] INFO DefaultDatabaseLocker
> - Failed to acquire lock. Sleeping for 1000 milli(s) before trying
> again...
>
>
> on both brokers.
>
> sqljdbc4.jar is used. Also the embedded a
Ben,
This link below discusses your question in depth.
http://superuser.com/questions/35698/how-to-supress-terminate-batch-job-y-n-confirmation
BenXS wrote:
>
> When I shutdown ActiveMQ under Windows by hitting ctrl-C in the
> CommandPrompt-Terminal-Window
> then ActiveMQ prompts me always:
Jerry,
There are several tuning params that can dramatically change the throughput.
For starters I am wondering what your prefetch size is? do you use
transactions? Can you provide your activemq.xml and let us know the size
of the messages and average and worse case time required for a consume
java 1.5 and Maven 2.0.4 and above are recommended for building and
running version 5.3.2 as you will find in the getting started guide under
environment. http://activemq.apache.org/version-5-getting-started.html.
-Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefG
Andrew,
What is your suggestion that would work in the unsigned java world. I guess
the getPriority and setPriority are required by the spec to be int primitive
types.
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
andrew.marlow wrote:
>
> Hello,
>
> It l
Andrew,
Could you satisfy your requirements using advisory messages to listen for
the ActiveMQ.Advisory.MasterBroker notification to keep track of who is the
master broker?
http://activemq.apache.org/advisory-message.html
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/A
Neil,
Are you aware of the pyactivemq project?
http://code.google.com/p/pyactivemq/
Clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
neilpritchard wrote:
>
> Hi,
>
> I'm using activemq as an exchange and consumer of amqp messages in a
> distributed syste
if slave=false always it sounds like a bug to me. a similar bug was
reported, AMQ-2669, that looks like this one and is reported fixed in 5.4.0.
https://issues.apache.org/activemq/browse/AMQ-2669
-clark
www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide
Andrew Wasil
Eric,
On startup, the Broker does a reverse DNS lookup which is unpredictable
across os versions especially with multihomed machines. Keep this in mind
especially when making the assumption:
"if "name" = "localhost" binding on localhost only => not visible for the
rest of the network"
-clark
I don't think most providers read the JMS as exclusionary but anyway if
you want to use only API provided by the JMS specifications then you can.
The examples included with ActiveMQ provide examples on how to send
messages using only the JMS standard API.
-clark
www.ttmsolutions.com
Act
Hi,
The functionality you are describing is handled by a Retroactive Consumer
and governed by Subscription Recovery Policy. You can read about these
features at the links below. Be sure to read the limitations of retroactive
consumers.
http://activemq.apache.org/retroactive-consumer.html
http://
Hi,You explained it clearly but I will recap just to be sure. You have the
following sequence of events.
1) create Topic.
2) persistent messages arrive in Topic.
3) ActiveMQ is bounced.
4) Durable subscriber subscribes to topic.
I am assuming you are installing on cloud images (called AMI for Am
41 matches
Mail list logo