[jira] [Commented] (QPID-7885) [Java Broker] Support Java 9

2018-09-14 Thread Rob Godfrey (JIRA)


[ 
https://issues.apache.org/jira/browse/QPID-7885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614763#comment-16614763
 ] 

Rob Godfrey commented on QPID-7885:
---

For this particular issue I wonder if it might not be better to simply remove 
the use of DatatypeConverter from Broker-J.  It was originally only used as a 
convenient way to get Base64 encoding without requiring an external library I 
believe.  For Java 8 onwards we can use the Base64 class for this.  Support of 
hex printing for binaries is trivial.  The only other place it is used seems to 
be in the parsing / printing of Dates - and I would hope we could do this 
without resorting to a class that is really intended for xml data binding.

> [Java Broker] Support Java 9
> 
>
> Key: QPID-7885
> URL: https://issues.apache.org/jira/browse/QPID-7885
> Project: Qpid
>  Issue Type: Improvement
>  Components: Broker-J
>Reporter: Lorenz Quack
>Priority: Major
> Fix For: qpid-java-broker-7.1.0
>
>
> With the Java 9 on the horizon it is time to get Qpid's Java components ready.
> * make sure component compile with JDK9
> * make sure components run with JRE9
> * take advantage of the new Java Module System



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-8240) [Broker-J] Detect idle connections

2018-09-14 Thread Tomas Vavricka (JIRA)
Tomas Vavricka created QPID-8240:


 Summary: [Broker-J] Detect idle connections
 Key: QPID-8240
 URL: https://issues.apache.org/jira/browse/QPID-8240
 Project: Qpid
  Issue Type: Improvement
  Components: Broker-J
Affects Versions: qpid-java-broker-7.0.7
Reporter: Tomas Vavricka


There is JSON key 'lastIoTime' in connection statistics, but value of key 
'lastIoTime' is also changing when no messages was sent/received over 
connection (probably heartbeat).

It would be helpful to detect when was last message sent/received over 
connection to detect idle connections.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org