Commit Graph

161 Commits

Author SHA1 Message Date
gtully e8818fafea https://issues.apache.org/jira/browse/AMQ-5080 - fix up rar transacted delivery and redelivery processing, xarecovery and transaction completion afer failover - using failover maxReconnectAttempts=0 to avoid blocking periodic recovery and negate replay of aborted transaction state 2014-03-03 13:22:30 +00:00
Hiram Chirino e7e317dc7e Applying patch AMQ-5074: MQTT paths with empty levels are not handled correctly.
Thanks Dhiraj!
2014-02-24 09:05:23 -05:00
Timothy Bish 2b3c477752 https://issues.apache.org/jira/browse/AMQ-5071
fix log statement
2014-02-22 16:45:40 -05:00
Timothy Bish 914beaeb4c https://issues.apache.org/jira/browse/AMQ-5071
fix bad logger
2014-02-21 12:15:28 -05:00
Hiram Chirino 93ca04468b Implements AMQ-5054: Display the number of active transactions and age of oldest transaction on a Connection's JMX info 2014-02-14 16:22:50 -05:00
Hiram Chirino 190a44bf25 Implements AMQ-5050: Populate a 'Host' header in the WireFormatInfo of the Openwire protocol to let multi-tenant proxies route connections. 2014-02-13 14:15:20 -05:00
Hiram Chirino e2a7d6af5a More improvements for AMQ-5043. 2014-02-12 10:59:40 -05:00
Dejan Bosanac 084d606d89 improve failover transport failure message to include client port, which makes will make it easier to debug things in multi-connection clients 2014-02-12 14:29:23 +01:00
Hiram Chirino 9735806030 Attempts to fix many of the compatibility issues with MQTT highlighted by AMQ-5043. 2014-02-11 17:53:24 -05:00
gtully 221a751d0a https://issues.apache.org/jira/browse/AMQ-5031 - add connection factory rmIdFromConnectionId attribute to allow resource manager identity to be mapped to the connection id, thus overiding the default broker identity association. usefull is a TM does not end a start with the join flags. We may want to implement join but it is not trivial to determin the existing associated state and clear it 2014-02-06 15:18:30 +00:00
artnaseef 50e4d07842 Small change to verify repo access. 2014-02-06 02:28:15 -07:00
gtully 146fb12108 ensure stack trace is in trace logging of exception 2014-02-05 11:25:44 +00:00
Timothy Bish 9eb7fb9062 https://issues.apache.org/jira/browse/AMQ-5017
Enforce max prefetch limit even in setAll and set inputstream using all
value.
2014-02-04 10:38:42 -05:00
Timothy Bish c7d66e944d https://issues.apache.org/jira/browse/AMQ-5003
Gate the session clear in progress code so that overlapping
transportInterrupted calls don't start consuming lots of memory for no
reason.
2014-01-29 16:57:33 -05:00
Timothy Bish d8cd37030b https://issues.apache.org/jira/browse/AMQ-4989 2014-01-22 17:48:11 -05:00
Timothy Bish 90104943b2 https://issues.apache.org/jira/browse/AMQ-4839
Deprecated the streams functionality.  Remove in a later release.
2014-01-21 15:00:16 -05:00
Timothy Bish e7703f70e0 https://issues.apache.org/jira/browse/AMQ-4977
Don't increase the cache size for repeated pull commands for the same
destination + consumer combo since we only keep one instance in the map
at any given time.
2014-01-17 12:29:55 -05:00
gtully 40c09ed5e5 add flags to xa_* debug logging 2014-01-16 14:02:09 +00:00
Timothy Bish 04c6d9dd69 https://issues.apache.org/jira/browse/AMQ-4958
Don't swallow evidence of interrupted state.
2014-01-06 11:49:38 -05:00
Torsten Mielke f69cbd8ec6 AMQ-4950: java.lang.ClassCastException: org.apache.activemq.command.ExceptionResponse cannot be cast to org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect 2014-01-06 13:43:26 +01:00
Timothy Bish cb5c29d02d https://issues.apache.org/jira/browse/AMQ-4887
Fix for losing message content when reusing messages.
2013-12-13 10:54:58 -05:00
rajdavies 6683eb652f Fix for https://issues.apache.org/jira/browse/AMQ-4927 2013-12-10 13:36:09 +00:00
rajdavies 71e4585689 Fix for https://issues.apache.org/jira/browse/AMQ-4825 2013-12-10 09:10:33 +00:00
Christian Posta b21dc69e81 added time unit for "send timeout" in the javadocs 2013-12-09 09:14:38 -07:00
rajdavies 489f929686 Fix for https://issues.apache.org/jira/browse/AMQ-4918 2013-12-04 19:02:25 +00:00
Hiram Chirino 02ef9445dd Fixing bug where the DataByteArrayInputStream was not throwing EOFExceptions when reads were going past the end of the byte array.
This would make it harder to figure out when things went wrong.
2013-12-04 12:09:47 -05:00
Timothy Bish 69e35d6c4a https://issues.apache.org/jira/browse/AMQ-4889
Improve the stream close logic in the init method to ensure we don't
leak and resources.
2013-12-04 11:09:28 -05:00
Rob Davies 07ec890372 Fix for https://issues.apache.org/jira/browse/AMQ-4916 2013-12-03 17:15:56 +00:00
Timothy Bish a6e306437e fix for: https://issues.apache.org/jira/browse/AMQ-4893 2013-11-25 14:48:38 -05:00
Dejan Bosanac bc1ca6c8cf https://issues.apache.org/jira/browse/AMQ-4897 - race condition in failover transport 2013-11-19 12:41:10 +01:00
rajdavies 0a67b12c64 Fix for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-14 09:48:34 +00:00
Timothy Bish c55a666921 https://issues.apache.org/jira/browse/AMQ-4706
add setting warnAfterReconnectAttempts to FailoverTransport to log a
warning after every N retries.  A value of <= 0 will disable the
warnings.
2013-11-13 15:19:16 -05:00
rajdavies 7f639a6047 Fix for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-13 18:50:57 +00:00
Claus Ibsen 6ed8f43d8d AMQ-2505: Sanitize hostname in Id generator to only include ascii chars as otherwise this can cause problems in openwire protocol. 2013-11-13 16:37:49 +01:00
Rob Davies 4183e6e47c Fix for https://issues.apache.org/jira/browse/AMQ-4719 2013-11-12 08:22:19 +00:00
Rob Davies 7e000d5a40 Fix for https://issues.apache.org/jira/browse/AMQ-4719 2013-11-12 08:07:33 +00:00
Timothy Bish 8f078a3f4c https://issues.apache.org/jira/browse/AMQ-4853
Add hashCode and equals override so that this object can be used in
collections properly
2013-11-08 16:27:13 -05:00
Claus Ibsen af1edf4588 Polished 2013-11-03 11:52:44 +01:00
Claus Ibsen 06356db1c4 AMQ-4826: Failover transport - avoid floating-point issue on other JDKs. 2013-11-03 11:00:03 +01:00
Claus Ibsen 6e49ef3a60 AMQ-4746: Fixed ClassLoadingAwareObjectInputStream to load simple types first, using same logic as in Camel. This helps with AMQ clients in other runtimes such as Applet based or whatnot. 2013-11-02 15:24:01 +01:00
Claus Ibsen 7dfb0a2a3c AMQ-4433: Validate socket.xxx transport connector options, to detect invalud/unused options and fail. Thanks to Christoffer Sawicki for the patch. 2013-10-31 12:13:40 +01:00
gtully 839b154cd2 https://issues.apache.org/jira/browse/AMQ-4798 - limits are still high but there is no loss in percision so that chidren now match parent and there is no info message 2013-10-11 13:56:44 +01:00
rajdavies ccb119d896 Construct a ConsumerId from a String 2013-10-10 20:30:01 +01:00
gtully dc0291b290 https://issues.apache.org/jira/browse/AMQ-4791 - fix and test. removed the delay but left the warn if dispatch ocurrs before interruption processing is complete. Problem was a race between consumer close and sessions copy on write dispatchers list 2013-10-08 21:29:17 +01:00
gtully 4f19f31a37 https://issues.apache.org/jira/browse/AMQ-4785 - fix and test 2013-10-04 11:35:23 +01:00
Claus Ibsen 887ac0ba49 AMQ-4769: Connection.close() should not throw exception if already closed according to JMS spec/javadoc. 2013-10-02 15:25:01 +02:00
gtully b66559ee07 https://issues.apache.org/jira/browse/AMQ-4757 activemq-jms-pool a generic jms xa pool derived from activemq-pool which activemq-pool now extends with amq specifics 2013-09-30 23:09:25 +01:00
Timothy Bish c7d33ad5e4 Logging cleanup, don't need all the if checks, use string substitution
more effectively.
2013-09-19 15:19:24 -04:00
gtully c387522217 https://issues.apache.org/jira/browse/AMQ-4426 - default to client ack, so that if a tx aborts we never auto ack or start a local transaction 2013-09-19 16:26:52 +01:00
Hiram Chirino 5215fc21d6 Fixing regression due to chagnes in AMQ-4718. You now have to prefix option that need to passed to the nested urls by prefixing those options with 'nested.' 2013-09-18 10:14:07 -04:00