xml configuration for Q2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

xml configuration for Q2

hakeem

Thanks Alejandro,,

what about smpp ??

How can i configure Log-Listener in xml for Q2 ??

i add xxx.xml like this :

<?xml version="1.0" ?>
<logger-adaptor name='logger-adaptor'
class="org.jpos.q2.qbean.LoggerAdaptor"  
logger="Q2">>
  <log-listener
class="org.jpos.util.RotateLogListener">
       <property name="file" value="log/mylog.log" />
 
       <property name="window" value="86400" />      
<property name="copies" value="100" />
       <property name="maxsize" value="1000000" />

    </log-listener>
</logger-adaptor>

it doesnt work, it just create mylog.log, but its
empty.

and can i configure it in only one single xml file
(QMUX, Channel, and so on.,,)??


i already check client-simulator module..

Best Regards

Lukmanul Hakim

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/jpos-dev/

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SMPP

bharavi gade
Hi,

I posted a reply yesterday and unfortunately it is not
appeared in the groups(may be a problem with groups
and was down yesterday).


We don't have direct support for smpp in jPOS. You
need to have your own SMPP listener for connecting to
SMSC and converting SMS message to ISO8583 requests
and handover the ISO8583 message to jPOS.

I suggest you to look in to a project
homermx.sourceforge.net

That will help you for connecting to SMSC and you may
have to write QueueToISO8583Service.java(look at
example QueueToSOAPService.java ,which sends received
SMS message to a SOAP target)

regards,
Bharavi



--- Lukmanul Hakim <[hidden email]> wrote:

>
> Thanks Alejandro,,
>
> what about smpp ??
>
> How can i configure Log-Listener in xml for Q2 ??
>
> i add xxx.xml like this :
>
> <?xml version="1.0" ?>
> <logger-adaptor name='logger-adaptor'
> class="org.jpos.q2.qbean.LoggerAdaptor"  
> logger="Q2">>
>   <log-listener
> class="org.jpos.util.RotateLogListener">
>        <property name="file" value="log/mylog.log"
> />
>  
>        <property name="window" value="86400" />    
>
> <property name="copies" value="100" />
>        <property name="maxsize" value="1000000" />
>
>     </log-listener>
> </logger-adaptor>
>
> it doesnt work, it just create mylog.log, but its
> empty.
>
> and can i configure it in only one single xml file
> (QMUX, Channel, and so on.,,)??
>
>
> i already check client-simulator module..
>
> Best Regards
>
> Lukmanul Hakim
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com 
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/jpos-dev/

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Loading...