Giter Site home page Giter Site logo

mokai's People

Contributors

arcodergh avatar germanescobar avatar ricardoecheverri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mokai's Issues

Ignore dlr if message not found after some time

Sometimes delivery receipts (DLR's) are received before the submit_sm response. We are waiting indefinitely every 900 millis and this has a cost, especially if the submit_sm response is never received (or if it is a lost DLR).

We need to limit the number of retries to 10 and wait more time each time before the message is searched. First retry should wait 900 millis, second should wait 1800, third 2700 and so on.

Refactor Message class

Remove account, body, type, sourceType and destinationType attributes. Instead of using attributes for source, destination, direction and reference, make use of the properties mechanism and create a naming convention: all properties that start with MK_ belong to Mokai including MK_SOURCE, MK_DESTINATION, MK_DIRECTION and MK_REFERENCE.

JMX Console: should be able to modify attributes

Right now it is not possible to modify attributes in the JMX Console. We need first to show if the attribute is writable and if it is, provide an input so the user can change it. Submit the changes immediately after the user leaves the field or clicks (for checkboxes).

Embedded JMX Web Console

Provide an embedded JMX interface as part of the Admin Console. This is much better as the default JMX access which requires additional ports.

Create a Jetty Connector

Build a Jetty Connector that replaces the one based on Camel. It should support Basic Authentication.

Jetty - Configuration should specify context path

The problem of not setting a context path is that browsers make two requests; one for the resource that is being asked for and other for the favicon.ico file. It is better to specify a context path that the connector will listen to and response 404 to everything else.

Implement the OR acceptor

By default acceptors are tested using an OR (i.e. if at least one accepts the message). However, sometimes we need to explicitly define the OR if we are inside an AND acceptor.

Skip routing if message "knows" the destination

There should be a way in which a message could skip the routing mechanism if it already knows the destination. This should be done by setting the MK_DESTINATION property on the message with the id of the destination.

Create a Inject Message form

It would allow users test the routes from the Web Admin Console. It should allow the user set the direction of the message and multiple properties (suggestions for common properties such as 'to', 'from', 'text', etc.).

SMPP - Message Id: Hexadecimal vs Decimal

Some carriers return the message_id as hexadecimal in the submit_sm response; others as decimal. We should use decimal by default and let the user specify in the configuration if the carrier is returning the message_id as hexadecimal.

Sending Long SMS

Hi,

I tried to send a long message, but I got ie.omk.smpp.message.InvalidParameterValueException: Message is too long exception.

Create README file

The README file should include:

  • What is Mokai?
  • Features.
  • Documentation links.
  • Link to download.

Adding new columns to the connection_msg table

Hi,

what if I want to add new key column like accountID to the connection_msg table. how can i add it? I think the idea of adding column thorugh the JSON (other column) is not recommended as the query using this column will affect the performance.

what about making the adding of table column dynamic. i.e. configurable through the configuration xml file?

Update the JBoss repository URL

It's been a while since JBoss deprecated the http://repository.jboss.org/maven2/ repository. The new URL is http://repository.jboss.org/nexus/content/repositories/releases.

Embedding Mokai can not be made buy creating new CamelRoutingEngine.

I think Embedding Mokai can not be made buy creating new CamelRoutingEngine. as shown by https://github.com/germanescobar/mokai/wiki/Embedding-Mokai. because the routing engine then will use the default settings like the "DefaultMessageStore" for example. I think it should be initialized by using Spring context.

I tried to embed Mokai in a Web Application deployed in Tomcat 7.0.27 and I used the "org.springframework.web.context.ContextLoaderListener" to initialize the routingEngine, However, It was failed to get running.

Change Receiver/Processor to Application/Connection

The receiver/processor model has the following problem. Sometimes it's necessary to add a processor in the receivers and a receiver in the processors. The solution is to rename receivers and processors to applications and connections respectively. Applications and connections can have both receivers and processors. Maybe we would want to call them just connectors instead.

The Nettosphere port is hardcoded in javascript

Nettosphere is what allow us to have Web Sockets. It runs in a separate port than the Web Console. However, we are hardcoding the port in the view's javascript. The solution is to pass the port from the Jogger controller to the view. Shouldn't be that hard.

Create a new Mail Connector

The Mail Connector should support receiving and producing messages through the SMTP protocol (they are really two connectors - SMTPReceiver and SMTPProcessor). It should support only IMAP as POP3 has some issues identifying new messages.

Add common actions

Add the following actions so they are available out-of-the-box:

  • AddPrefixAction: adds a prefix to a field if it doesn't starts with the prefix.
  • AddSpacesAction: fills a field with spaces until the field is of the specified length.
  • AddSuffixAction: adds a suffix to a field if it doesn't ends with the suffix.
  • ConcatAction: concats multiple fields in a new field.
  • CopyAction: Copies the value of a property into another property - with a different name.
  • ReplaceAction: replaces strings on a field.

SMPP Server is not sending DLR's to clients

Currently DLR's are getting updated on Web Interface provided / or MySql DB, but its not getting delivered to SMPP server.

For Example: Suppose i am using a third party SMPP client and connecting it to mokai SMPP via SMPP, whatever SMS i am pushing with third party SMPP G/W, DLR's are not getting recieved on third party app but its getting updated on web interface.

Pl look into it.

thanks

MS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.