[ 
https://issues.apache.org/jira/browse/JAMES-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Tellier updated JAMES-2902:
----------------------------------
    Description: 
Jannik Junk reported on GitHub issues supplying JamesMessageHook:

{code:java}
2019-09-25 11:44:10.060  INFO 30588 --- [w I/O worker #1] 
o.a.j.p.n.BasicChannelUpstreamHandler    : Connection established from 127.0.0.1
2019-09-25 11:44:19.726  INFO 30588 --- [w I/O worker #1] d.o.b.s.s.MessageHook 
                   : JAMES Sender: [email protected]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.jboss.netty.util.internal.ByteBufferUtil 
(file:/C:/Users/jjung/.gradle/caches/modules-2/files-2.1/io.netty/netty/3.10.6.Final/18ed04a0e502896552854926e908509db2987a00/netty-3.10.6.Final.jar)
 to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of 
org.jboss.netty.util.internal.ByteBufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release

2019-09-25 11:44:20.256  INFO 30588 --- [w I/O worker #1] 
o.a.j.p.n.BasicChannelUpstreamHandler    : Connection closed for 127.0.0.1
{code}

We miss tests on the registration of such components.

Write integration tests on top of guice-memory demonstrating one can register 
SMTP extensions.

This includes the following APIs:
 - MessageHook /  JamesMessageHook
 - MailHook / MailParametersHook
 - RcptHook / DeliverToRecipientHook
 - QuitHook
 - HeloHook
 - AuthHook
 - UnknownHook
 - ConnectHandler

  was:
Jannik Junk reported on GitHub issues supplying JamesMessageHook:

{code:java}
2019-09-25 11:44:10.060  INFO 30588 --- [w I/O worker #1] 
o.a.j.p.n.BasicChannelUpstreamHandler    : Connection established from 127.0.0.1
2019-09-25 11:44:19.726  INFO 30588 --- [w I/O worker #1] d.o.b.s.s.MessageHook 
                   : JAMES Sender: [email protected]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.jboss.netty.util.internal.ByteBufferUtil 
(file:/C:/Users/jjung/.gradle/caches/modules-2/files-2.1/io.netty/netty/3.10.6.Final/18ed04a0e502896552854926e908509db2987a00/netty-3.10.6.Final.jar)
 to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of 
org.jboss.netty.util.internal.ByteBufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release

2019-09-25 11:44:20.256  INFO 30588 --- [w I/O worker #1] 
o.a.j.p.n.BasicChannelUpstreamHandler    : Connection closed for 127.0.0.1
{code}

We miss tests on the registration of such components.

Write integration tests on top of guice-memory demonstrating one can register 
SMTP extensions.

This includes the following APIs:
 - MessageHook /  JamesMessageHook
 - MailHook / MailParametersHook
 - RcptHook / DeliverToRecipientHook
 - QuitHook
 - HeloHook
 - AuthHook
 - UnknownHook


> Integration tests for SMTP extention mechanisms.
> ------------------------------------------------
>
>                 Key: JAMES-2902
>                 URL: https://issues.apache.org/jira/browse/JAMES-2902
>             Project: James Server
>          Issue Type: Improvement
>          Components: SMTPServer, tests
>    Affects Versions: 3.4.0
>            Reporter: Benoit Tellier
>            Priority: Major
>
> Jannik Junk reported on GitHub issues supplying JamesMessageHook:
> {code:java}
> 2019-09-25 11:44:10.060  INFO 30588 --- [w I/O worker #1] 
> o.a.j.p.n.BasicChannelUpstreamHandler    : Connection established from 
> 127.0.0.1
> 2019-09-25 11:44:19.726  INFO 30588 --- [w I/O worker #1] 
> d.o.b.s.s.MessageHook                    : JAMES Sender: [email protected]
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.jboss.netty.util.internal.ByteBufferUtil 
> (file:/C:/Users/jjung/.gradle/caches/modules-2/files-2.1/io.netty/netty/3.10.6.Final/18ed04a0e502896552854926e908509db2987a00/netty-3.10.6.Final.jar)
>  to method java.nio.DirectByteBuffer.cleaner()
> WARNING: Please consider reporting this to the maintainers of 
> org.jboss.netty.util.internal.ByteBufferUtil
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> 2019-09-25 11:44:20.256  INFO 30588 --- [w I/O worker #1] 
> o.a.j.p.n.BasicChannelUpstreamHandler    : Connection closed for 127.0.0.1
> {code}
> We miss tests on the registration of such components.
> Write integration tests on top of guice-memory demonstrating one can register 
> SMTP extensions.
> This includes the following APIs:
>  - MessageHook /  JamesMessageHook
>  - MailHook / MailParametersHook
>  - RcptHook / DeliverToRecipientHook
>  - QuitHook
>  - HeloHook
>  - AuthHook
>  - UnknownHook
>  - ConnectHandler



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to