Hiram R. Chirino
40926586aa
Call transportFailed() only for IOException caused by the transport. Async exceptions from the broker could just mean that an async operation failed (like an async send).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376339 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:29:30 +00:00
Hiram R. Chirino
4f6e90108f
The QueueMasterSlaveTest and TopicMasterSlaveTest were hanging on on teardown of the test case due us issuing a transport request() that never returned. Converterted to just issuing a oneway and it seems to have fixed the issue.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376332 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:04:54 +00:00
Hiram R. Chirino
28ca7515c9
removed the debug printlns
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376330 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:03:04 +00:00
Robert Davies
6985a09ee6
allow executeBatch() in close - if not in a transaction - to release locks
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376298 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 14:08:02 +00:00
Robert Davies
b59d0b5938
Set timestamp on the broker
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376260 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 11:06:41 +00:00
Adrian T. Co
e99fc62e4a
- Added a message to the request map in failover before sending it to prevent race condition where the response tries (and fails) to remove the message before it is even added. This is to prevent double sending a message because it is still in the requestMap. (This is for the master-slave test cases)
...
- Enabled a QueueBridgeTest, this test seems to pass already.
- Some minor typo correction.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376206 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 06:43:10 +00:00
Hiram R. Chirino
1a3021beac
rollback this change since it breaks stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376065 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:58:20 +00:00
Hiram R. Chirino
ef61027ad7
Added some better logging.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376048 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:24:52 +00:00
Hiram R. Chirino
a7ac415557
Added better proxy connector cleanup code.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376047 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:23:08 +00:00
Hiram R. Chirino
7e672d4150
Close the transport if for some reason the connection cannot be accepted.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376044 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:20:24 +00:00
Hiram R. Chirino
43d4e983dc
A little better logging to see when brokers are started and stopped.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376042 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:17:12 +00:00
Robert Davies
ef0127d81c
updated for compilation errors for some java platforms
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376041 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:13:33 +00:00
Hiram R. Chirino
1b9c601975
use service stopper to simplify stop() method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376040 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:06:18 +00:00
Robert Davies
49e8a803aa
rationalize the QueueBridge/TopicBridge
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376019 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 18:26:35 +00:00
Robert Davies
d52e6ac042
support defining local address and port for a socket - e.g:
...
ssl://localhost:5666/localhost:60606
where the path (localhost:60606) - defines the local address and local port
For jira issue: AMQ-529
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375923 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 11:03:02 +00:00
Robert Davies
36a2bdc519
receive() returns null on connection transport failure
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375721 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 21:40:23 +00:00
Hiram R. Chirino
e6f5d3026e
- Implemented http://jira.activemq.org/jira/browse/AMQ-511
...
- Queues can now be browsed, messages deleted, or queue can be purged.
- Added initial hooks to expose subscriptions for JMX managment.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375654 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 18:34:21 +00:00
Robert Davies
db747b49d9
fix for usecase: ThreeBrokerQueueNetworkUsingTcpTest.java
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375598 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 13:34:12 +00:00
Adrian T. Co
7fa8660c7e
- Move AMQ command console to separate module (activemq-console)
...
- Move Main.java to console module
- Move maven goal "run:broker" from core to console.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375519 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 06:48:24 +00:00
Adrian T. Co
f6735ea870
Fix typo in method name.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375179 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 05:16:33 +00:00
Robert Davies
6ea186cf65
seperate inbound and outbound message convertors
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375088 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:58:14 +00:00
Robert Davies
bf8f99b51d
remove System.err println
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375087 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:56:10 +00:00
Robert Davies
641140ebab
Forced to copy message before leaving the consumer - as the destination could change if
...
the message is forwarded on.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374795 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 00:35:53 +00:00
Robert Davies
e1bc55dafe
separate JndiTemplate into local and outbound
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374729 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:22:40 +00:00
Frederick G. Oconer
82d60e1291
make Serializable to prevent NotSerializableException in weblogic (AMQ-501) - Patrick Villacorta
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374605 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 08:48:25 +00:00
Robert Davies
a1c4eb6d48
return IntegerResponse from prepareTransaction()
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374309 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 08:56:23 +00:00
Guillaume Nodet
3a0358ee17
Fix threading problems in the DemandForwardingBridge.java
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374292 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 07:47:16 +00:00
Robert Davies
d517eebfbc
put back default Constructor on NetworkConnector - for now.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374288 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 06:54:17 +00:00
Frederick G. Oconer
9e4779964d
excluded ProxyConnectorTest because it hangs.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374277 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 06:03:36 +00:00
Robert Davies
4d9ab0cffc
Added setter for the MBeanServer
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374137 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 18:26:36 +00:00
Robert Davies
7f634906d0
log execption and fire to exception listener if exception thrown
...
in run() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374101 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 16:28:57 +00:00
Robert Davies
e62711760b
corrected javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374064 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 13:37:28 +00:00
Robert Davies
5a429d90bb
Fixes for networks and the invalid Brokers caper
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373863 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:35:13 +00:00
Robert Davies
3e7ebc2368
Add a check to the iterate() so that on failover - it's not possible
...
to iterate for ever if the transport has actually been stopped
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373862 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:31:21 +00:00
James Strachan
2ae7169856
removed possible NPE
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373809 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 12:33:44 +00:00
James Strachan
e6747ead95
patch and test case for AMQ-514 to make BrokerInfo and the broker name visible to an ActiveMQConnection
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373548 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 16:59:01 +00:00
James Strachan
9c0d3ce072
added better debug tracing so that destinations are explicit in whether they are a queue or topic
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372952 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 19:33:21 +00:00
Robert Davies
233b604642
check if a broker held by the TransportConnector is stopped before asigning it for re-use (i.e. VMTransportServer)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 17:00:26 +00:00
Gregory John Wilkins
6a70920b20
notify listener after the enqueue
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372844 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 13:31:17 +00:00
James Strachan
2f944a19e3
added fix for issue reported on forum: http://forums.activemq.org/posts/list/0/60.page
...
where on startup we get the following exception when using mysql
java.io.IOException: Can't call commit when autocommit=true
at org.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:44)
at org.activemq.store.jdbc.TransactionContext.close(TransactionContext.java:113)
at org.activemq.store.jdbc.JDBCPersistenceAdapter.getAdapter(JDBCPersistenceAdapter.java:253)
at org.activemq.store.jdbc.JDBCPersistenceAdapter.start(JDBCPersistenceAdapter.java:140)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372805 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:16:16 +00:00
James Strachan
8fbbd24122
fixed typeo
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372800 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:02:05 +00:00
James Strachan
3d18a3dc7b
made the adapter class configurable on the <journaledJDBC adapterClass="...."/>
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372799 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 09:57:38 +00:00
James Strachan
40ce55be77
added extra NPE check
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372519 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 12:40:12 +00:00
Frederick G. Oconer
a9d3883dc8
commented out goal that override the jar:deploy. This causes error when deploying the jar in the dist repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372437 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 04:49:28 +00:00
Robert Davies
afcefa0111
Added durable topic test for master/slave
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372300 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 20:06:17 +00:00
Frederick G. Oconer
9a699a4d06
correction on artifact name given for xsd deploy goal.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372090 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 03:42:36 +00:00
Robert Davies
8b04e15826
Fixes for Master-Slave functionality
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372050 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 23:08:29 +00:00
Hiram R. Chirino
b2039fb1c2
Fix for https://jira.logicblaze.com/jira/browse/AMQ-494
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371949 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 16:02:42 +00:00
Robert Davies
fd156f833a
send back responses
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 13:34:59 +00:00
Adrian T. Co
4b8822f154
- Added task to browse a queue for messages that includes the ability to query for selected messages only, and specify the properties to view. (Still considering adding one for topics too)
...
- Redesigned the querying mechanism to allow easy insertion and/or extension of specific querying filters
- Redesigned the output mechanism to allow easy inclusion of different output formatters (i.e. output in command shell friendly format, script friendly format, xml format, etc.)
- Currently have just included a not-so-friendly command shell formatter. :) Have plans to modify this and maybe include an xml formatter and/or script friendly formatter.
PS: I plan to move the console package outside activemq-core and include some unit tests with it sometime in the very near future. I know its kinda messy right know. :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371880 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 10:23:34 +00:00