You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2009/02/20 14:33:59 UTC
[jira] Created: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
---------------------------------------------------------------------------------------------------------------------
Key: CAMEL-1364
URL: https://issues.apache.org/activemq/browse/CAMEL-1364
Project: Apache Camel
Issue Type: New Feature
Components: camel-bindy
Reporter: Charles Moulliard
Fix For: 2.0.0
Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
So the following FIX message :
8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
could be mapped to POJO like this
@Link
public Class Header {
@KeyValuePair(tag = 8) // e.g. FIX 4.1
private string BeginStr;
@(tag = 9)
private int BodyLength;
....
}
@Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
public class Message {
@Link
private Header header;
@Link
private Trailer trailer;
@KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
private Date SendTime;
}
@Link
public class Trailer {
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49980#action_49980 ]
Willem Jiang commented on CAMEL-1364:
-------------------------------------
@ Charles
I think you still don't put all the files into the patch.
BindySimpleKeyValuePairTabMarshallTest and BindySimpleKeyValuePairTabUnmarshallTest are failed in my work space.
I checked the code and think you may miss the directory of org/apache/camel/dataformat/bindy/model/fix/tab
and the src/test/data/fix_tab
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-fixsimple.txt, camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-1364:
-----------------------------------
Assignee: Willem Jiang
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49968#action_49968 ]
Charles Moulliard commented on CAMEL-1364:
------------------------------------------
@Willem,
The directory that you mention is not located under src/main but under src/test.
wrong : src/main/java/org/apache/camel/dataformat/bindy/model/fix/simple
correct : src/test/java/org/apache/camel/dataformat/bindy/model/fix/simple
@Hi,
Do I have to do something now ?
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49960#action_49960 ]
Willem Jiang commented on CAMEL-1364:
-------------------------------------
Hi Charles,
Thanks for your patch , I just tried to apply your patch, but I got the compile error when I built the camel-bindy module with your patch.
You may forget to add the src/main/java/org/apache/camel/dataformat/bindy/model/fix/simple directory into the svn repo before you creating the patch.
Please run "svn st" to check the file with ? before using "svn diff" to generate the patch.
In this way we could avoid the missing part :)
Cheers,
Willem
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50031#action_50031 ]
Willem Jiang commented on CAMEL-1364:
-------------------------------------
Applied patch with thanks to Charles.
http://svn.apache.org/viewvc?rev=748118&view=rev
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50110#action_50110 ]
Claus Ibsen commented on CAMEL-1364:
------------------------------------
Hadrian
I do think Charles have added wiki documentation for the new annotations based on KeyValuePair.
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49990#action_49990 ]
Willem Jiang commented on CAMEL-1364:
-------------------------------------
@ Charles
Did you just changed the dateformat's package name, like below ?
BindyKeyValuePairDataFormat camelDataFormat = new BindyKeyValuePairDataFormat("org.apache.camel.dataformat.bindy.model.fix.simple");
If so , I will commit the code with that change, since I also fixed some check style error in my workspace.
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49970#action_49970 ]
Charles Moulliard commented on CAMEL-1364:
------------------------------------------
@Willem,
Do I have to update my svn project prior to generate the patch for this directory ?
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard updated CAMEL-1364:
-------------------------------------
Attachment: camel-bindy.txt
@Willem,
Here is a new one. I hope it will be complete.
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49969#action_49969 ]
Willem Jiang commented on CAMEL-1364:
-------------------------------------
@Charles
Can you create a patch for src/test/java/org/apache/camel/dataformat/bindy/model/fix/simple ?
I will take care of the rest :)
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49966#action_49966 ]
Willem Jiang commented on CAMEL-1364:
-------------------------------------
@ Claus,
The change of pom.xml is only in the camel-bindy module :)
BTW, I will remove that dependency.
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50002#action_50002 ]
Charles Moulliard commented on CAMEL-1364:
------------------------------------------
@Willem,
Yes
The tests named BindySimpleKeyValuePairMarshalTest and BindySimpleKeyValuePairUnMarshalTest use the package name : org.apache.camel.dataformat.bindy.model.fix.simple
but
BindySimpleKeyValuePairTabMarshalTest and BindySimpleKeyValuePairTabUnMarshalTest use : org.apache.camel.dataformat.bindy.model.fix.tab
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50135#action_50135 ]
Charles Moulliard commented on CAMEL-1364:
------------------------------------------
Documentation of the wiki has been updated last week. So we can close this ticket
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard updated CAMEL-1364:
-------------------------------------
Attachment: camel-bindy-fixsimple.txt
@Hi,
Here is the patch for the folder required (src/...fix/simple)
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-fixsimple.txt, camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-1364.
---------------------------------
Resolution: Fixed
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard updated CAMEL-1364:
-------------------------------------
Attachment: (was: camel-bindy-keyvaluepair.patch)
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49963#action_49963 ]
Claus Ibsen commented on CAMEL-1364:
------------------------------------
Charles please do NOT change anything in the root pom.xml.
In your patch you have added log4j as default. You should use Apache Commons Logging for ALL your logging.
log4j is only allowed to be in maven test scope.
So the patch should be created on the camel-bindy project alone.
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50096#action_50096 ]
Hadrian Zbarcea commented on CAMEL-1364:
----------------------------------------
@Charles
Do you mind updating the documentation so we can close this issue?
http://cwiki.apache.org/confluence/display/CAMEL/Bindy
Thanks!
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1364) Add BindyKeyValuePairFormat to
handle content formatted with key value pairs fields like we have in FIX,
EMX messages
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50111#action_50111 ]
Hadrian Zbarcea commented on CAMEL-1364:
----------------------------------------
Can we close this one then?
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
> Attachments: camel-bindy.txt
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard updated CAMEL-1364:
-------------------------------------
Attachment: (was: camel-bindy-fixsimple.txt)
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Assignee: Willem Jiang
> Fix For: 2.0.0
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-1364) Add BindyKeyValuePairFormat to handle
content formatted with key value pairs fields like we have in FIX, EMX
messages
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard updated CAMEL-1364:
-------------------------------------
Attachment: camel-bindy-keyvaluepair.patch
Here is camel patch for key value pair format (FIX message), refactoring + doc update
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1364
> URL: https://issues.apache.org/activemq/browse/CAMEL-1364
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-bindy
> Reporter: Charles Moulliard
> Fix For: 2.0.0
>
> Attachments: camel-bindy-keyvaluepair.patch
>
>
> Add BindyKeyValuePairFormat to handle content formatted with key value pairs fields like we have in FIX, EMX messages
> So the following FIX message :
> 8=FIX.4.1\0019=112\00135=0\00149=BRKR\00156=INVMGR\00134=235\00152=19980604-07:58:28\001112=19980604-07:58:28\00110=157\001
> could be mapped to POJO like this
> @Link
> public Class Header {
> @KeyValuePair(tag = 8) // e.g. FIX 4.1
> private string BeginStr;
> @(tag = 9)
> private int BodyLength;
> ....
> }
> @Message(type = FIX, version = 4.1, keyValuePairSeparator = "=", pairSeparator = "\001")
> public class Message {
> @Link
> private Header header;
> @Link
> private Trailer trailer;
> @KeyValuePair(tag = 52, pattern = "yyyymmdd-hh:mm:ss", mandatory="false")
> private Date SendTime;
> }
> @Link
> public class Trailer {
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.