Menu

SmartPOS not send XML messages to activeMQ

2012-05-03
2022-03-24
  • Edickson Martinez

    attached the POS log file

    regards

    Edickson Martínez

     
  • kalo wand

    kalo wand - 2012-05-06

    Hi Edickson,

    I guess your problem is in the jms.url.out(tcp://172.16.5.33:61617).
    

    jms.url contains the IP of the server that ActiveMQ is setup on
    jms.url.out contains should be localhost because it's the ip and port of the local embeded activemq server in the smartpos.

    from pedro's resources:-

    *SmartPOSResourcesReferenceV1-0.pdf

    jms.url
    jms url pointing to the remote queue system (ERP) to send outgoing messages from the
    embebed internal activemq of this POS
    tcp://xxx.xx.xx.x:61616
    jms.url.out
    jms url pointing to the local embebed activemq of this POS
    tcp://localhost:61617

    after that you will have some errors with the ERP Messages window. you will need to change the following.

    Search Key Message Text

    DocTypeTargetID 1000139
    PaymentTerm 105

     
  • kalo wand

    kalo wand - 2012-05-06

    Sorry :)
    DocTypeTargetID 1000165

     
  • Edwin Kurniawan

    Edwin Kurniawan - 2016-07-19

    Hi all,
    Hope this will help to solve the problem. this is backup way when smartpos not send XML or often missed one/ more transaction fail send to ERP.
    it check tickets number both on POS-ERP whether data already send to ERP or not.
    extract file then run the jar file, or you can make schedule to execute the jar, in linux I'am using crontab.
    before using it, adjust config.properties & jdbc.properties so it equal with id that defined in POS and ERP.

    regards,
    Edwin Kurniawan

     
  • Edwin Kurniawan

    Edwin Kurniawan - 2016-07-19

    Here i also share the source code. please send me for feedback

    Regards,
    Edwin Kurniawan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.