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, wrote: > Modified: mina/vysper/trunk/server/core/pom.xml > URL: > http://svn.apache.org/viewvc/mina/vysper/trunk/server/core/pom.xml?rev=1053570&r1=1053569&r2=1053570&view=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 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 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 manual testing.

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 and

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 2:44 PM, Ashish 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 complete XML message

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Ashish
On Wed, Dec 29, 2010 at 7:34 PM, Niklas Gustavsson wrote: > On Wed, Dec 29, 2010 at 2:44 PM, Ashish 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 >> impl

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 3:09 PM, Ashish 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 Gustavsson wrote: On Wed, Dec 29, 2010 at 2:44 PM, Ashish 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 a

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

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 Gustavsson wrote: On Wed, Dec 29, 2010 at 2:44 PM, Ashish wrote: I managed to get hold of the implementation for a simple XML Decoder that we discussed on ML long ago. Its n

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 4:42 PM, Emmanuel Lecharny 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 support > being i

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 Lecharny 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 fragmentatio

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 6:52 PM, Emmanuel Lécharny 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 available, in

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écharny 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 stat

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Niklas Gustavsson
On Wed, Dec 29, 2010 at 7:24 PM, Emmanuel Lécharny 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 independent on Vysper

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écharny 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

Re: XML Server example [DIRMINA-258]

2010-12-29 Thread Ashish
On Thu, Dec 30, 2010 at 12:06 AM, Niklas Gustavsson wrote: > On Wed, Dec 29, 2010 at 7:24 PM, Emmanuel Lécharny > 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 ! > > Righ

[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-tabpanel&focusedCommentId=12975972#action_12975972 ] Ashish Paliwal commented on DIRMINA-617: Just ran the Image Server example and was