Re: svn commit: r1053570 - in /mina/vysper/trunk/server: core/ core/src/main/config/ core/src/main/java/org/apache/vysper/spring/ core/src/main/java/org/apache/vysper/xmpp/server/ extensions/xep0045-m

2010-12-29 Thread Niklas Gustavsson
A few comments inline: On Wed, Dec 29, 2010 at 10:00 AM, ber...@apache.org wrote: Modified: mina/vysper/trunk/server/core/pom.xml URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/core/pom.xml?rev=1053570r1=1053569r2=1053570view=diff

Re: svn commit: r1053570 - in /mina/vysper/trunk/server: core/ core/src/main/config/ core/src/main/java/org/apache/vysper/spring/ core/src/main/java/org/apache/vysper/xmpp/server/ extensions/xep0045-m

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 10:37 AM, Niklas Gustavsson nik...@protocol7.com wrote: A few comments inline: You beat me to it :-) /niklas

Re: svn commit: r1053051 - in /mina/vysper/branches/s2s/server/core/src: main/java/org/apache/vysper/spring/ main/java/org/apache/vysper/xmpp/modules/extension/xep0119_xmppping/ main/java/org/apache/v

2010-12-29 Thread Bernd Fondermann
On 27.12.10 13:29, Niklas Gustavsson wrote: Bernd, this is the patch we spoke about yesterday about changing the StanzaHandler lookup. Please review. It currently passes all unit tests and I've done some basic manual testing. It also contains a demo of how it could be used for catching XMPP Ping

Re: svn commit: r1053051 - in /mina/vysper/branches/s2s/server/core/src: main/java/org/apache/vysper/spring/ main/java/org/apache/vysper/xmpp/modules/extension/xep0119_xmppping/ main/java/org/apache/v

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 10:53 AM, Bernd Fondermann bf_...@brainlounge.de wrote: On 27.12.10 13:29, Niklas Gustavsson wrote: Bernd, this is the patch we spoke about yesterday about changing the StanzaHandler lookup. Please review. It currently passes all unit tests and I've done some basic

XML Server example [DIRMINA-258]

2010-12-29 Thread Ashish
All, I managed to get hold of the implementation for a simple XML Decoder that we discussed on ML long ago. Its not the most sophisticated one, but will give an idea of how to implement one :) I don't want to keep it local anymore, might loose it. Its in compilable form, but need to test it

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 2:44 PM, Ashish paliwalash...@gmail.com wrote: I managed to get hold of the implementation for a simple XML Decoder that we discussed on ML long ago. Its not the most sophisticated one, but will give an idea of how to implement one :) Does it handle streaming XML or

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Ashish
On Wed, Dec 29, 2010 at 7:34 PM, Niklas Gustavsson nik...@protocol7.com wrote: On Wed, Dec 29, 2010 at 2:44 PM, Ashish paliwalash...@gmail.com wrote: I managed to get hold of the implementation for a simple XML Decoder that we discussed on ML long ago. Its not the most sophisticated one, but

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 3:09 PM, Ashish paliwalash...@gmail.com wrote: Its a dumb xml parser meaning it extends CumulativeProtocolDecoder and looks for start and end tag to complete the XML message. Its doesn't have a lot of error handling :( Okay, thanks :-) /niklas

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Bernd Fondermann
On 29.12.10 15:09, Ashish wrote: On Wed, Dec 29, 2010 at 7:34 PM, Niklas Gustavssonnik...@protocol7.com wrote: On Wed, Dec 29, 2010 at 2:44 PM, Ashishpaliwalash...@gmail.com wrote: I managed to get hold of the implementation for a simple XML Decoder that we discussed on ML long ago. Its not

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Ashish
I managed to get hold of the implementation for a simple XML Decoder that we discussed on ML long ago. Its not the most sophisticated one, but will give an idea of how to implement one :) Does it handle streaming XML or complete XML messages? How does it compare with the implementation we

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Emmanuel Lecharny
On 12/29/10 3:13 PM, Bernd Fondermann wrote: On 29.12.10 15:09, Ashish wrote: On Wed, Dec 29, 2010 at 7:34 PM, Niklas Gustavssonnik...@protocol7.com wrote: On Wed, Dec 29, 2010 at 2:44 PM, Ashishpaliwalash...@gmail.com wrote: I managed to get hold of the implementation for a simple XML

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 4:42 PM, Emmanuel Lecharny elecha...@gmail.com wrote: Just wondering, as it one of the reason Vysper joined MINA three years ago - remember when we were at Amsterdam and I asked you if Vysper, then a Labs project, was supporting XML fragmentation ? -, is this XML parser

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Emmanuel Lécharny
On 12/29/10 6:16 PM, Niklas Gustavsson wrote: On Wed, Dec 29, 2010 at 4:42 PM, Emmanuel Lecharnyelecha...@gmail.com wrote: Just wondering, as it one of the reason Vysper joined MINA three years ago - remember when we were at Amsterdam and I asked you if Vysper, then a Labs project, was

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 6:52 PM, Emmanuel Lécharny elecha...@apache.org wrote: Yes, it will kick off SAX parser events as things comes in. Either as a streaming document as in XMPP or as standalone documents. But will the sax parser just returns in an intermediate state when no more bytes are

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Emmanuel Lécharny
On 12/29/10 7:03 PM, Niklas Gustavsson wrote: On Wed, Dec 29, 2010 at 6:52 PM, Emmanuel Lécharnyelecha...@apache.org wrote: Yes, it will kick off SAX parser events as things comes in. Either as a streaming document as in XMPP or as standalone documents. But will the sax parser just returns in

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 7:24 PM, Emmanuel Lécharny elecha...@apache.org wrote: great ! We have to make it an independent module in MINA then, because it's really the XML parser we want to use for any kind of XML based protocol in MINA ! Right, that would be easy enough. It's designed to be

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Emmanuel Lécharny
On 12/29/10 7:36 PM, Niklas Gustavsson wrote: On Wed, Dec 29, 2010 at 7:24 PM, Emmanuel Lécharnyelecha...@apache.org wrote: great ! We have to make it an independent module in MINA then, because it's really the XML parser we want to use for any kind of XML based protocol in MINA ! Right, that

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Ashish
On Thu, Dec 30, 2010 at 12:06 AM, Niklas Gustavsson nik...@protocol7.com wrote: On Wed, Dec 29, 2010 at 7:24 PM, Emmanuel Lécharny elecha...@apache.org wrote: great ! We have to make it an independent module in MINA then, because it's really the XML parser we want to use for any kind of XML

[jira] Commented: (DIRMINA-617) JMX - IoServiceMBean doesn't expose IoService statistics

2010-12-29 Thread Ashish Paliwal (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12975972#action_12975972 ] Ashish Paliwal commented on DIRMINA-617: Just ran the Image Server example and was