Overriding the HttpGatewayReceiverServlet.java

Any communication concerning the SMS module

Moderators: hugo, alexandre, rmvanarkel

Post Reply
ken4ward
Posts: 94
Joined: Tue Sep 18, 2012 3:29 pm

Overriding the HttpGatewayReceiverServlet.java

Post by ken4ward » Wed Mar 20, 2013 8:58 am

I want to override this class with the description given in the interceptor. I cloned this class and renamed it FinishedCustomMessageInterceptorImpl , extended it: HttpGatewayReceiverServlet.java, and made the modification I want in the FinishedCustomMessageInterceptorImpl.java, copied the FinishedCustomMessageInterceptorImpl.class into the class directory of the SMS folder, and passed the FinishedCustomMessageInterceptorImpl.class file as the CustomInterceptor.class thus:
messageInterceptor.class=FinishedCustomMessageInterceptorImpl.class.
I expected it to change the but it is picking the conversion from the the former HttpGatewayReceiverServlet.java, what should I do next? Thanks.

ken4ward
Posts: 94
Joined: Tue Sep 18, 2012 3:29 pm

Re: Overriding the HttpGatewayReceiverServlet.java

Post by ken4ward » Thu Mar 21, 2013 10:45 am

Cyclos, hurray! Finally the job is done. Thanks to all contributors. i really appreciate! If anyone needs an assistance on this, message me.

admin
Site Admin
Posts: 1414
Joined: Mon Jan 24, 2005 10:31 am

Re: Overriding the HttpGatewayReceiverServlet.java

Post by admin » Thu Mar 21, 2013 11:55 am

Hi,

Fine to hear you got it all working. Well done.

ken4ward
Posts: 94
Joined: Tue Sep 18, 2012 3:29 pm

Re: Overriding the HttpGatewayReceiverServlet.java

Post by ken4ward » Fri Apr 05, 2013 3:17 pm

Thanks, admin. Kudos for the good job done by Cyclos developers! Finally here in Nigeria we can use the SMS module.

Post Reply