This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package models | |
/** | |
* Mq Utills,Mq crete session and receive data function | |
*/ | |
import javax.jms.Message | |
import javax.jms.MessageListener | |
import javax.jms.Session | |
import javax.jms.TextMessage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import spray.json.DefaultJsonProtocol | |
import spray.client.pipelining._ | |
import spray.http._ | |
import scala.concurrent._ | |
import akka.actor.{ActorSystem} | |
import scala.concurrent.ExecutionContext.Implicits.global | |
import scala.util._ | |
case class User(id: Option[Int], username: Option[String]) |