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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
attached the POS log file
regards
Edickson Martínez
Hi Edickson,
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
Sorry :)
DocTypeTargetID 1000165
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
Here i also share the source code. please send me for feedback
Regards,
Edwin Kurniawan