[jira] [Commented] (PROTON-515) Port to OpenVMS

2014-03-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13941822#comment-13941822
 ] 

ASF subversion and git services commented on PROTON-515:


Commit 1579657 from r...@apache.org in branch 'proton/trunk'
[ https://svn.apache.org/r1579657 ]

PROTON-515: partially incorporated openvms pataches, pipe vs socketpair issue 
remains

 Port to OpenVMS
 ---

 Key: PROTON-515
 URL: https://issues.apache.org/jira/browse/PROTON-515
 Project: Qpid Proton
  Issue Type: Improvement
  Components: proton-c
Affects Versions: 0.6
 Environment: OpenVMS
Reporter: Tomas Soltys
  Labels: OpenVMS, patch
 Fix For: 0.7

 Attachments: codec.c.patch, driver.c.patch, object.c.patch, 
 platform_fmt.h.patch


 There is a need for proton-c port to OpenVMS platform.
 To make proton-c functional on OpenVMS few changes in the source code are 
 required.
 Here is list of files I have identified which require some attention:
 proton-c/src/platform_fmt.h
 proton-c/src/posix/driver.c
 proton-c/src/object/object.c
 proton-c/src/codec/codec.c



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (PROTON-478) status not updated for settled deliveries

2014-03-20 Thread Rafael H. Schloming (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael H. Schloming resolved PROTON-478.


   Resolution: Fixed
Fix Version/s: 0.7

 status not updated for settled deliveries
 -

 Key: PROTON-478
 URL: https://issues.apache.org/jira/browse/PROTON-478
 Project: Qpid Proton
  Issue Type: Bug
  Components: proton-c
Affects Versions: 0.6
Reporter: Rafael H. Schloming
Assignee: Rafael H. Schloming
 Fix For: 0.7


 Messenger does not indicate any status change when deliveries are settled at 
 the receiver with no explicit delivery state.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (PROTON-478) status not updated for settled deliveries

2014-03-20 Thread Rafael H. Schloming (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael H. Schloming updated PROTON-478:
---

Fix Version/s: (was: 0.7)
   0.6

 status not updated for settled deliveries
 -

 Key: PROTON-478
 URL: https://issues.apache.org/jira/browse/PROTON-478
 Project: Qpid Proton
  Issue Type: Bug
  Components: proton-c
Affects Versions: 0.6
Reporter: Rafael H. Schloming
Assignee: Rafael H. Schloming
 Fix For: 0.6


 Messenger does not indicate any status change when deliveries are settled at 
 the receiver with no explicit delivery state.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (PROTON-467) Stop initializing encoder and decoder for each message sent/received

2014-03-20 Thread Rafael H. Schloming (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael H. Schloming resolved PROTON-467.


   Resolution: Fixed
Fix Version/s: 0.7
 Assignee: Rafael H. Schloming

 Stop initializing encoder and decoder for each message sent/received
 

 Key: PROTON-467
 URL: https://issues.apache.org/jira/browse/PROTON-467
 Project: Qpid Proton
  Issue Type: Improvement
  Components: proton-j
Affects Versions: 0.5
Reporter: Bozo Dragojevic
Assignee: Rafael H. Schloming
 Fix For: 0.7

 Attachments: 
 0001-PROTON-467-Stop-initializing-encoder-and-decoder-for.patch


 the really expensive part is the call to registerAllTypes()
 create a thread-local reusable instance of both



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (PROTON-467) Stop initializing encoder and decoder for each message sent/received

2014-03-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13941845#comment-13941845
 ] 

ASF subversion and git services commented on PROTON-467:


Commit 1579665 from r...@apache.org in branch 'proton/trunk'
[ https://svn.apache.org/r1579665 ]

PROTON-467: applied patch from Bozo Dragojevic for using thread local 
encoder/decoder inside MessageImpl

 Stop initializing encoder and decoder for each message sent/received
 

 Key: PROTON-467
 URL: https://issues.apache.org/jira/browse/PROTON-467
 Project: Qpid Proton
  Issue Type: Improvement
  Components: proton-j
Affects Versions: 0.5
Reporter: Bozo Dragojevic
 Fix For: 0.7

 Attachments: 
 0001-PROTON-467-Stop-initializing-encoder-and-decoder-for.patch


 the really expensive part is the call to registerAllTypes()
 create a thread-local reusable instance of both



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (PROTON-392) proton-jni build fails

2014-03-20 Thread Rafael H. Schloming (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael H. Schloming closed PROTON-392.
--

Resolution: Invalid

 proton-jni build fails
 --

 Key: PROTON-392
 URL: https://issues.apache.org/jira/browse/PROTON-392
 Project: Qpid Proton
  Issue Type: Bug
  Components: proton-j
 Environment: OS X
Reporter: Hiram Chirino

 Scanning dependencies of target proton-jni
 [ 79%] Building Java objects for proton-jni.jar
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIDataFactory.java:25:
  error: cannot find symbol
 import org.apache.qpid.proton.jni.JNIFactory;
  ^
   symbol:   class JNIFactory
   location: package org.apache.qpid.proton.jni
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIDataFactory.java:27:
  error: cannot find symbol
 public class JNIDataFactory extends JNIFactory implements DataFactory
 ^
   symbol: class JNIFactory
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNIEngineFactory.java:28:
  error: cannot find symbol
 import org.apache.qpid.proton.jni.JNIFactory;
  ^
   symbol:   class JNIFactory
   location: package org.apache.qpid.proton.jni
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNIEngineFactory.java:30:
  error: cannot find symbol
 public class JNIEngineFactory extends JNIFactory implements EngineFactory
   ^
   symbol: class JNIFactory
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISsl.java:24:
  error: cannot find symbol
 import static 
 org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue;
 ^
   symbol:   class ExceptionHelper
   location: package org.apache.qpid.proton.jni
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISsl.java:24:
  error: static import only from classes and interfaces
 import static 
 org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue;
 ^
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:22:
  error: cannot find symbol
 import static 
 org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue;
 ^
   symbol:   class ExceptionHelper
   location: package org.apache.qpid.proton.jni
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:22:
  error: static import only from classes and interfaces
 import static 
 org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue;
 ^
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/message/jni/JNIMessageFactory.java:28:
  error: cannot find symbol
 import org.apache.qpid.proton.jni.JNIFactory;
  ^
   symbol:   class JNIFactory
   location: package org.apache.qpid.proton.jni
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/message/jni/JNIMessageFactory.java:32:
  error: cannot find symbol
 public class JNIMessageFactory extends JNIFactory implements MessageFactory
^
   symbol: class JNIFactory
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/messenger/jni/JNIMessengerFactory.java:23:
  error: cannot find symbol
 import org.apache.qpid.proton.jni.JNIFactory;
  ^
   symbol:   class JNIFactory
   location: package org.apache.qpid.proton.jni
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/messenger/jni/JNIMessengerFactory.java:28:
  error: cannot find symbol
 public class JNIMessengerFactory extends JNIFactory implements 
 MessengerFactory
  ^
   symbol: class JNIFactory
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIDataFactory.java:27:
  error: JNIDataFactory is not abstract and does not override abstract method 
 getImplementationType() in ProtonFactory
 public class JNIDataFactory extends JNIFactory implements DataFactory
^
 /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNIEngineFactory.java:30:
  error: JNIEngineFactory is not abstract and does not override abstract 
 method 

Re: Proton 0.7 RC1

2014-03-20 Thread Ted Ross
I tested this RC standalone and against Dispatch trunk.  Everything 
worked as I expected.


One note on the README:  I tested on a stripped down Fedora 20 image and 
I had to install two additional packages to those listed in the README:


- rubygem-minitest
- maven

-Ted

On 03/14/2014 04:25 PM, Rafael Schloming wrote:

Hi Everyone,

There's been a bunch of key improvements/fixes since Proton 0.6, so it's
probably about time for a new release. I've just posted the first RC in the
usual places. Please check it out and give a shout if you run into any
issues.

Source artifacts:

   http://people.apache.org/~rhs/qpid-proton-0.7rc1/

Java binaries:

   https://repository.apache.org/content/repositories/orgapacheqpid-1001/

--Rafael





Anonymous Producers

2014-03-20 Thread Clebert Suconic
A common JMS feature is to have a Producer being anonymous and define the 
address only when the message is sent.


We do the same on HornetQ core API.. However from my first look on the Proton 
API I always need to define the source and the target?

Is there a way to define the destination per message sent?


How do you handle this at the current qpid JMS Client? From what I understand 
on the API it will then declare a new LINK when a new destination is set.. is 
that right?


That means there are no anonymous links or a way to alter the target during the 
message send? no such thing as deliver.send(message, *destination*)?