class AmqpBridge extends AnyRef
Vert.x AMQP Bridge. Facilitates sending and receiving AMQP 1.0 messages.
- Alphabetic
- By Inheritance
- AmqpBridge
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new AmqpBridge(_asJava: AnyRef)
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
-  def asJava: AnyRef
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        close(resultHandler: Handler[AsyncResult[Unit]]): Unit
      
      
      Shuts the bridge down, closing the underlying connection. Shuts the bridge down, closing the underlying connection. * @param resultHandler the result handler 
- 
      
      
      
        
      
    
      
        
        def
      
      
        closeFuture(): Future[Unit]
      
      
      Like close but returns a scala.concurrent.Future instead of taking an AsyncResultHandler. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        createConsumer[T](amqpAddress: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): MessageConsumer[T]
      
      
      Creates a consumer on the given AMQP address. Creates a consumer on the given AMQP address. This method MUST be called from the bridge Context thread, as used in the result handler callback from the start methods. The bridge MUST be successfully started before the method is called. * @param amqpAddress the address to consume from - returns
- the consumer 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        createProducer[T](amqpAddress: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): MessageProducer[T]
      
      
      Creates a producer to the given AMQP address. Creates a producer to the given AMQP address. This method MUST be called from the bridge Context thread, as used in the result handler callback from the start methods. The bridge MUST be successfully started before the method is called. * @param amqpAddress the address to produce to - returns
- the producer 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        endHandler(endHandler: Handler[Unit]): Unit
      
      
      Set an end handler. Set an end handler. This will fire if the underlying connection is unexpectedly disconnected or remotely closed. * @param endHandler the handler 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        start(hostname: String, port: Int, resultHandler: Handler[AsyncResult[AmqpBridge]]): Unit
      
      
      Starts the bridge, establishing the underlying connection. Starts the bridge, establishing the underlying connection. * @param hostname the host name to connect to - port
- the port to connect to 
- resultHandler
- the result handler 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        start(hostname: String, port: Int, username: String, password: String, resultHandler: Handler[AsyncResult[AmqpBridge]]): Unit
      
      
      Starts the bridge, establishing the underlying connection. Starts the bridge, establishing the underlying connection. * @param hostname the host name to connect to - port
- the port to connect to 
- username
- the username 
- password
- the password 
- resultHandler
- the result handler 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        startFuture(hostname: String, port: Int): Future[AmqpBridge]
      
      
      Like start but returns a scala.concurrent.Future instead of taking an AsyncResultHandler. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        startFuture(hostname: String, port: Int, username: String, password: String): Future[AmqpBridge]
      
      
      Like start but returns a scala.concurrent.Future instead of taking an AsyncResultHandler. 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )